Skip to content

Commit

Permalink
DisplayObjectSignalSetTest now uses strings for Flash Player 10 event…
Browse files Browse the repository at this point in the history
… types, so it will compile for Player 9.
  • Loading branch information
Robert Penner committed Jun 23, 2011
1 parent 5897cd1 commit b2b1048
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ package org.osflash.signals.natives.sets
public function add_exitFrame_then_EventDispatcher_dispatch_should_call_signal_listener():void
{
signalSet.exitFrame.add(async.add(handleEvent));
sprite.dispatchEvent(new Event(Event.EXIT_FRAME));
sprite.dispatchEvent(new Event("exitFrame"));
}

//////
Expand All @@ -203,7 +203,7 @@ package org.osflash.signals.natives.sets
public function add_frameConstructed_then_EventDispatcher_dispatch_should_call_signal_listener():void
{
signalSet.frameConstructed.add(async.add(handleEvent));
sprite.dispatchEvent(new Event(Event.FRAME_CONSTRUCTED));
sprite.dispatchEvent(new Event("frameConstructed"));
}

//////
Expand Down Expand Up @@ -274,7 +274,7 @@ package org.osflash.signals.natives.sets
const binding : ISignalBinding = signalSet.exitFrame.add(failIfCalled);
binding.enabled = false;

sprite.dispatchEvent(new Event(Event.EXIT_FRAME));
sprite.dispatchEvent(new Event("exitFrame"));
}

//////
Expand All @@ -285,7 +285,7 @@ package org.osflash.signals.natives.sets
const binding : ISignalBinding = signalSet.frameConstructed.add(failIfCalled);
binding.enabled = false;

sprite.dispatchEvent(new Event(Event.FRAME_CONSTRUCTED));
sprite.dispatchEvent(new Event("frameConstructed"));
}

//////
Expand Down

0 comments on commit b2b1048

Please sign in to comment.