Parameters
A string that is the screen name to move.
screenToMove
referenceScreen
be placed.
A string that specifies where to move the screen in relation to
position
Acceptable values are
Returns
A Boolean value:
true
Description
Method; moves the specified screen in relation to the value of the
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
A string that specifies the new name of the screen
newScreenName
A string that specifies the name of the existing screen to change. If not
oldScreenName
specified, the name of the currently selected screen changes. This parameter is optional.
A Boolean value that, if set to
bDisplayError
occurs, for example, if a screen with the same name as the value passed to
already exists. The default value is
Returns
A Boolean value:
true
A string that specifies the screen near which
,
,
"before"
"after"
if the move is successful;
.
false
if the renaming is successful;
, and
"firstChild"
"lastChild"
otherwise.
false
, shows an error message if an error
true
otherwise.
false
will
screenToMove
referenceScreen
.
referenceScreen
newScreenName
ScreenOutline object
.
383
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers