Description
Method; deletes the current scene
(Timeline
object) and, if the deleted scene was not the last
one, sets the next scene as the current Timeline object. If the deleted scene was the last one, it
sets the first object as the current Timeline object. If only one Timeline object (scene) exists, it
returns the value
false.
Example
Assuming there are three scenes (
,
, and
) in the current document, the
Scene0
Scene1
Scene2
following example makes
the current scene and then deletes it:
Scene2
fl.getDocumentDOM().editScene(2);
var success = fl.getDocumentDOM().deleteScene();
document.deleteSelection()
Availability
Flash MX 2004.
Usage
document.deleteSelection()
Parameters
None.
Returns
Nothing.
Description
Method; deletes the current selection on the Stage. Displays an error message if there is no
selection.
Example
The following example deletes the current selection in the document:
fl.getDocumentDOM().deleteSelection();
94
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers