MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 379

Extending flash
Table of Contents

Advertisement

Returns
Nothing.
Description
Method; deletes the currently selected screen(s), or a specified screen, and the children of the
screen(s).
Example
The following example removes the screen named apple and all its children:
fl.getDocumentDOM().screenOutline.deleteScreen("apple");
screenOutline.duplicateScreen()
Availability
Flash MX 2004.
Usage
screenOutline.duplicateScreen( [screenName] )
Parameters
A string value that specifies the screen name to duplicate. If you don't pass a
screenName
value for
, the currently selected screen(s) are duplicated. This parameter is
screenName
optional.
Returns
A Boolean value:
if the screen is successfully duplicated;
otherwise.
true
false
Description
Method; duplicates the currently selected screen(s) or a specified screen. The duplicate screens
are given a default name by appending _copy to the original name, such as Screen_copy,
Screen_copy2, and so on. If you duplicate multiple screens, the duplicates are placed directly
below the selected screen that is lowest in the screen outline hierarchy.
Example
The following example duplicates a screen named apple:
fl.getDocumentDOM().screenOutline.duplicateScreen("apple");
ScreenOutline object
379

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents