User Guide
108 Chapter 3: Objects
Example
The following example moves the second scene to before the first scene:
fl.getDocumentDOM().reorderScene(1, 0);
document.resetTransformation()
Availability
Flash MX 2004.
Usage
document.resetTransformation()
Parameters
None.
Returns
Nothing.
Description
Method; resets the transformation matrix. This method is equivalent to selecting Modify >
Transform > Remove transform.
Example
The following example resets the transformation matrix for the current selection:
fl.getDocumentDOM().resetTransformation();
document.revert()
Availability
Flash MX 2004.
Usage
document.revert()
Parameters
None.
Returns
Nothing.
Description
Method; reverts the specified document to its previously saved version. This method is equivalent
to selecting File > Revert. See
document.canRevert() and fl.revertDocument().