Description
Method; renames the currently selected scene in the Scenes panel. The new name for the
selected scene must be unique.
Example
The following example renames the current scene to
:
"new name"
var success = fl.getDocumentDOM().renameScene("new name");
document.reorderScene()
Availability
Flash MX 2004.
Usage
,
document.reorderScene( sceneToMove
sceneToPutItBefore )
Parameters
An integer that specifies which scene to move, with 0 (zero) being the first
sceneToMove
scene.
An integer that specifies the scene before which you want to move
sceneToPutItBefore
the scene specified by
. Specify 0 (zero) for the first scene. For example, if you
sceneToMove
specify 1 for
and 0 for
, the second scene is placed before
sceneToMove
sceneToPutItBefore
the first scene. Specify -1 to move the scene to the end.
Returns
Nothing.
Description
Method; moves the specified scene before another specified scene.
Example
The following example moves the second scene to before the first scene:
fl.getDocumentDOM().reorderScene(1, 0);
Document object
135
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers