screenOutline.currentScreen
Availability
Flash MX 2004.
Usage
screenOutline.currentScreen
Description
Property; a
Screen
Example
The following example stores the
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 value
screenName
for
, the currently selected screen(s) and their children are deleted. This parameter is
screenName
optional.
Returns
Nothing.
Description
Method; deletes the currently selected screen(s), or a specified screen, and the children of the
screen(s).
Example
The following example removes the screen named apple and all its children:
fl.getDocumentDOM().screenOutline.deleteScreen("apple");
258
Chapter 3: Objects
object, the currently selected screen.
currentScreen
object in the
myScreen
variable and then
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?