ScreenOutline object
Availability
Flash MX 2004.
Description
The ScreenOutline object represents the group of screens in a slide or form document. The
object is accessed by using
The ScreenOutline object exists only if the document is a slide or form document, so before
accessing the property, use
exists, as shown in the following example:
if(fl.getDocumentDOM().allowScreens) {
var myName =
fl.getDocumentDOM().screenOutline.rootScreen.childScreens[0].name;
fl.trace("The name of the screen is " + myName + ". ");
}
Method summary for the ScreenOutline object
You can use the following methods with the ScreenOutline object:
Method
screenOutline.copyScreenFromFile()
screenOutline.deleteScreen()
screenOutline.duplicateScreen()
screenOutline.getSelectedScreens()
screenOutline.insertNestedScreen()
screenOutline.insertScreen()
screenOutline.moveScreen()
376
Objects
CHAPTER 34
fl.getDocumentDOM().screenOutline.
document.allowScreens()
Description
Inserts all the screens, or a named screen and its
children, from a specified document under the
currently selected screen.
Deletes the currently selected screen(s), or a
specified screen, and the children of the screen(s).
Duplicates the currently selected screen(s) or a
specified screen.
Returns an array of Screen objects that are
currently selected in the screen outline.
Inserts a nested screen of a specific type into a
particular location in the screen outline.
Inserts a new blank screen of a specified type into
the document at a specified location.
Moves the specified screen in relation to the value
of the
after, as the first child, or as the last child.
to verify that a Screens document
parameter; either before,
referenceScreen
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers