screenOutline.deleteScreen()

Availability

Flash MX 2004.

Usage

screenOutline.deleteScreen([screenName])

Parameters

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.

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");