User Guide

ScreenOutline object 377
Property summary for the ScreenOutline object
You can use the following properties with the ScreenOutline object:
screenOutline.copyScreenFromFile()
Availability
Flash MX 2004.
Usage
screenOutline.copyScreenFromFile( fileURI [, screenName] )
Parameters
fileURI A string, expressed as a file:/// URI, that specifies a filename for the authoring file
that contains the screens to copy into the document.
screenName The name of the screen to copy. If the screenName parameter is present, Flash
copies that screen and its children. If the
screenName is not specified, Flash copies the whole
document. This parameter is optional.
Returns
Nothing. If the file is not found or is not a valid FLA file, or if the specified screen is not
found, an error is reported and the script is cancelled.
screenOutline.renameScreen() Changes the screen with a specified name to a
new name.
screenOutline.setCurrentScreen() Sets the current selection in the screen outline to
the specified screen.
screenOutline.setScreenProperty() Lets the specified property with the specified value
for the selected screens.
screenOutline.setSelectedScreens() Selects the specified screens in the Screen
Outline pane.
Property Description
screenOutline.currentScreen A Screen object; the currently selected screen.
screenOutline.rootScreen Read-only; the first screen in the screen outline.
screenOutline.screens Read-only ; the array of top level Screen objects
contained in the document (see Screen object).
Method Description