You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to as3-signals
I found, that when I change the target property of a NativeSignal, all
listeners atached to the previous target react on the event of the
previous and current target.
var nativeSignal:NativeSignal = new NativeSignal( this,
Event.ENTER_FRAME );
nativeSignal.add( onThisEnterFrame );
nativeSignal.target = new Sprite();
nativeSignal.add( onThatEnterFrame );
private function onThisEnterFrame( $event:Event ):void
{
trace( "onThisEnterFrame" );
}
private function onThatEnterFrame( $event:Event ):void
{
trace( "onThatEnterFrame" );
}