Document.resetrectangleobject(), Document.resettransformation() – Adobe Extending Flash Professional CS4 User Manual
Page 153
131
EXTENDING FLASH CS4 PROFESSIONAL
Document object
document.resetRectangleObject()
Availability
Flash CS3 Professional.
Usage
document.resetRectangleObject()
Parameters
None.
Returns
Nothing.
Description
Method; sets all values in the Property inspector to default Rectangle object settings. If any Rectangle objects are
selected, their properties are reset to default values as well.
Example
The following example resets Rectangle object properties in the current document to default values:
fl.getDocumentDOM().resetRectangleObject();
See also
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: