User Guide
ScreenOutline object 383
Parameters
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".
Returns
A Boolean value: true if the move is successful; false otherwise.
Description
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.
Example
The following example moves screen slide1 to be the first child of slide2:
fl.getDocumentDOM().screenOutline.moveScreen("slide1", "slide2",
"firstChild");
screenOutline.renameScreen()
Availability
Flash MX 2004.
Usage
screenOutline.renameScreen( newScreenName [, oldScreenName [,
bDisplayError] ] )
Parameters
newScreenName A string that specifies the new name of the screen
oldScreenName A string that specifies the name of the existing screen to change. If not
specified, the name of the currently selected screen changes. This parameter is optional.
bDisplayError A Boolean value that, if set to true, shows an error message if an error
occurs, for example, if a screen with the same name as the value passed to
newScreenName
already exists. The default value is
false.
Returns
A Boolean value: true if the renaming is successful; false otherwise.