MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 377

Extending flash
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents