Adobe Extending Flash Professional CS4 User Manual
Page 81

59
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Creates an intersection drawing object from all selected
drawing objects.
Makes the size of the selected objects the same.
Performs a mouse click from the Selection tool.
Performs a double mouse click from the Selection tool.
document.moveSelectedBezierPointsBy()
If the selection contains at least one path with at least one
Bézier point selected, this method moves all selected Bézier
points on all selected paths by the specified amount.
Moves selected objects by a specified distance.
Optimizes smoothing for the current selection, allowing
multiple passes, if specified, for optimal smoothing; equivalent
to selecting Modify > Shape > Optimize.
Publishes the document according to the active publish
settings (File > Publish Settings); equivalent to selecting File >
Publish.
Uses the top selected drawing object to punch through all
selected drawing objects underneath it.
Removes all filters from the selected object(s).
document.removeDataFromDocument()
Removes persistent data with the specified name that has
been attached to the document.
document.removeDataFromSelection()
Removes persistent data with the specified name that has
been attached to the selection.
Removes the specified filter from the Filters list of the selected
object(s).
document.renamePublishProfile()
Renames the current profile.
Renames the currently selected scene in the Scenes panel.
Moves the specified scene before another specified scene.
Sets all values in the Property inspector to default Oval object
settings.
document.resetRectangleObject()
Sets all values in the Property inspector to default Rectangle
object settings.
document.resetTransformation()
Resets the transformation matrix; equivalent to selecting
Modify > Transform > Remove Transform.
Reverts the specified document to its previously saved version;
equivalent to selecting File > Revert.
document.revertToLastVersion()
Reverts the specified document to the version stored on the
Version Cue server and logs any errors to the Output panel.
Applies a 3D rotation to the selection.
Rotates the selection by a specified number of degrees.
Saves the document in its default location; equivalent to
selecting File > Save.
Method
Description