Extending Flash |
|
|
|
| Objects > ScreenOutline object > screenOutline.deleteScreen() | |||
Flash MX 2004.
screenOutline.deleteScreen([screenName])
screenName A string that specifies the name of the screen to be deleted. If you don't pass a value for screenName, the currently selected screen(s) and their children are deleted. This parameter is optional.
Nothing.
Method; deletes the currently selected screen(s), or a specified screen, and the children of the screen(s).
The following example removes the screen named apple and all its children:
fl.getDocumentDOM().screenOutline.deleteScreen("apple");
|
|
|
|