Document.renamescene(); Document.reorderscene() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

document.renameScene()

Availability
Flash MX 2004.
Usage
document.renameScene( name )
Parameters
A string that specifies the new name of the scene.
name
Returns
A Boolean value:
not unique, for example, the method returns
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
var success = fl.getDocumentDOM().renameScene("new name");

document.reorderScene()

Availability
Flash MX 2004.
Usage
document.reorderScene( sceneToMove
Parameters
sceneToMove
sceneToPutItBefore
scene specified by
for
sceneToMove
scene. Specify -1 to move the scene to the end.
Returns
Nothing.
Description
Method; moves the specified scene before another specified scene.
if the name is changed successfully;
true
An integer that specifies which scene to move, with 0 (zero) being the first scene.
An integer that specifies the scene before which you want to move the
. Specify 0 (zero) for the first scene. For example, if you specify 1
sceneToMove
and 0 for
sceneToPutItBefore
false
.
false
"new name"
,
sceneToPutItBefore )
, the second scene is placed before the first
otherwise. If the new name is
:
Document object
107

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents