382
Objects
Parameters
name
A string indicating the name of the new screen to insert. If this parameter is omitted,
the method inserts a screen with a default screen name, such as Slide
n
or Form
n
(where
n
is
the first available unique number). This parameter is optional.
referenceScreen
A string indicating the name of the screen before the new screen. If this
parameter is omitted, the new screen is inserted after the currently selected screen. If the
referenceScreen
parameter identifies a child screen, the new screen will be a peer of the
child screen, and a child screen of the same parent. This parameter is optional.
screenTypeName
A string that specifies the screen type to attach to the new screen. The
screen type and classname are set for this screen. Acceptable values are
"Form"
and
"Slide"
.
This parameter is optional.
Returns
A
Screen object
.
Description
Method; inserts a new blank screen of a specified type into the document at a specified
location.
Example
The following example inserts a form named slide2 after the screen named slide1:
fl.getDocumentDOM().screenOutline.insertScreen("slide2","slide1","Form");
The following example inserts a slide named slide4 after the screen slide3:
fl.getDocumentDOM().screenOutline.insertScreen("slide4","slide3","Slide");
screenOutline.moveScreen()
Availability
Flash MX 2004.
Usage
screenOutline.moveScreen(
screenToMove
,
referenceScreen
,
position
)
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...