Extending Flash |
|
|
|
| Objects > ScreenOutline object > screenOutline.moveScreen() | |||
Flash MX 2004.
screenOutline.moveScreen(screenToMove,referenceScreen,position)
screenToMove A string that is the screen name to move.
referenceScreen A string that specifies the screen near which screenToMove will be placed.
position A string that specifies where to move the screen in relation to referenceScreen. Acceptable values are "before", "after", "firstChild", and "lastChild".
A Boolean value: true if the move is successful; false otherwise.
Method; moves the specified screen in relation to the value of the referenceScreen parameter; either before, after, as the first child, or as the last child.
The following example moves screen slide1 to be the first child of slide2:
fl.getDocumentDOM().screenOutline.moveScreen("slide1", "slide2", "firstChild");
|
|
|
|