Revision: 12294
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 9, 2009 15:56 by chrisaiv
Initial Code
/*********************** Method 1: On Added handler ***********************/ addEventListener( Event.ADDED_TO_STAGE, function( e:Event ):void { stage.addEventListener( MouseEvent.MOUSE_MOVE, myMouseMoveEvent ); }); /*********************** Method 2: The system manager parents all displayable elements within the Flex application. ***********************/ systemManager.stage.addEventListener( MouseEvent.MOUSE_MOVE, myMouseMoveEvent );
Initial URL
http://www.alwaysgetbetter.com/blog/2008/11/09/accessing-the-stage-in-flex/
Initial Description
There are times when you need to access the stage property before onCreationComplete. Here are two ways to do it.
Initial Title
Flex: Accessing the stage
Initial Tags
Initial Language
MXML