Screenoutline.renamescreen(); Screenoutline.rootscreen - 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

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
oldScreenName
specified, the name of the currently selected screen changes. This parameter is optional.
bDisplayError
for example, if a screen with the same name as the value passed to
The default value is
Returns
A Boolean value:
Description
Method; changes the screen with a specified name to a new name.
Example
The following example changes the name of slide1 to Intro:
fl.getDocumentDOM().screenOutline.renameScreen("Intro", "slide1");

screenOutline.rootScreen

Availability
Flash MX 2004.
Usage
screenOutline.rootScreen
Description
Read-only property; the first screen in the screen outline. You can use
screenOutline.rootScreen
262
Chapter 3: Objects
A string that specifies the new name of the screen
A string that specifies the name of the existing screen to change. If not
A Boolean value that, if set to
.
false
if the renaming is successful;
true
as a shortcut for
, shows an error message if an error occurs,
true
newScreenName
otherwise.
false
screenOutline.screens[0]
already exists.
.

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