ScreenOutline object
261
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
)
Parameters
screenToMove
A string that is the screen name to move.
referenceScreen
A string that specifies the screen near which
screenToMove
will be placed.
position
A string that specifies where to move the screen in relation to
referenceScreen
.
Acceptable values are
"before"
,
"after"
,
"firstChild"
, or
"lastChild"
.
Returns
A Boolean value:
true
if the move is successful;
false
otherwise.
Description
Method; moves the specified screen in relation to the value of the
referenceScreen
parameter;
either before, after, as the first child, or as the last child.
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...