beautypg.com

Adobe Extending Flash Professional CS5 User Manual

Page 80

background image

58

EXTENDING FLASH PROFESSIONAL

Document object

Last updated 5/2/2011

document.match()

Makes the size of the selected objects the same.

document.mouseClick()

Performs a mouse click from the Selection tool.

document.mouseDblClk()

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.

document.moveSelectionBy()

Moves selected objects by a specified distance.

document.optimizeCurves()

Optimizes smoothing for the current selection, allowing
multiple passes, if specified, for optimal smoothing; equivalent
to selecting Modify > Shape > Optimize.

document.publish()

Publishes the document according to the active publish
settings (File > Publish Settings); equivalent to selecting File >
Publish.

document.punch()

Uses the top selected drawing object to punch through all
selected drawing objects underneath it.

document.removeAllFilters()

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.

document.removeFilter()

Removes the specified filter from the Filters list of the selected
object(s).

document.renamePublishProfile()

Renames the current profile.

document.renameScene()

Renames the currently selected scene in the Scenes panel.

document.reorderScene()

Moves the specified scene before another specified scene.

document.resetOvalObject()

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.

document.revert()

Reverts the specified document to its previously saved version;
equivalent to selecting File > Revert.

document.rotate3DSelection()

Applies a 3D rotation to the selection.

document.rotateSelection()

Rotates the selection by a specified number of degrees.

document.save()

Saves the document in its default location; equivalent to
selecting File > Save.

document.saveAndCompact()

Saves and compacts the file; equivalent to selecting File > Save
and Compact.

document.scaleSelection()

Scales the selection by a specified amount; equivalent to using
the Free Transform tool to scale the object.

Method

Description

This manual is related to the following products: