Method
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
Astring that specifies a filename for the authoring file that contains the screens to
fileURI
copy into the document, in URI format (for example,
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
Method; inserts all the screens, or a named screen and its children, from a specified document
under the currently selected screen. If more than one screen is selected, the screen(s) are inserted
under the last selected screen, as its sibling.
Example
The following example copies the "slide1" screen from the myTarget.fla file on the Desktop into
the current document (substitute your user name for
fl.getDocumentDOM().screenOutline.copyScreenFromFile("file:///C|/Documents and
Settings/userName/Desktop/myTarget.fla", "slide1");
Description
Method; lets the specified property with the specified
value for the selected screens.
Method; selects the specified screens in the Screen
Outline pane.
Description
Property; 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
"file:///C:/assets.fla"
screenName
is not specified, Flash copies the whole
screenName
userName
Screen
object).
).
parameter is present, Flash
):
ScreenOutline object
257
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?