package { import flash.display.Sprite; import flash.events.*; public class actionscript_events_Module extends Sprite { public static const START:String = "START"; public function actionscript_events_Module() { loaderInfo.sharedEvents.addEventListener(actionscript_events_Module.START, startListener); loaderInfo.sharedEvents.addEventListener(Event.MOUSE_LEAVE, mouseLeaveListener); } public function startListener (e:Event):void { trace("actionscript_events_Module.startListener() was invoked..."); } private function mouseLeaveListener (e:Event):void { trace("actionscript_events_Module.mouseLeaveListener() was invoked..."); } } }