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
):
userName
fl.getDocumentDOM().screenOutline.copyScreenFromFile("file:///C|/Documents
and Settings/userName/Desktop/myTarget.fla", "slide1");
screenOutline.currentScreen
Availability
Flash MX 2004.
Usage
screenOutline.currentScreen
Description
Property; a Screen object, the currently selected screen (see
Screen
object).
Example
The following example stores the
object in the
variable and then
currentScreen
myScreen
displays the name of that screen in the Output panel:
var myScreen = fl.getDocumentDOM().screenOutline.currentScreen;
fl.trace(myScreen.name);
screenOutline.deleteScreen()
Availability
Flash MX 2004.
Usage
screenOutline.deleteScreen( [screenName] )
Parameters
A string that specifies the name of the screen to be deleted. If you don't pass a
screenName
value for
, the currently selected screen(s) and their children are deleted. This
screenName
parameter is optional.
378
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?