actionscript-events-Module.ax [swf] flex
package { import flash.display.Sprite; import flash.events.*; public class @ax-actionscript-events-Module extends Sprite { public static const START:String = "START"; public function @ax-actionscript-events-Module() { loaderInfo.sharedEvents.addEventListener(@ax-actionscript-events-Module.START, startListener); loaderInfo.sharedEvents.addEventListener(Event.MOUSE_LEAVE, mouseLeaveListener); } public function startListener (e:Event):void { trace("@ax-actionscript-events-Module.startListener() was invoked..."); } private function mouseLeaveListener (e:Event):void { trace("@ax-actionscript-events-Module.mouseLeaveListener() was invoked..."); } } }
(C) Æliens 27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.