Document object
61
document.getElementProperty()
Gets the specified
Element
property for the current
selection.
document.getElementTextAttr()
Gets a specified
TextAttrs
property of the selected text
objects.
document.getSelectionRect()
Gets the bounding rectangle of the current selection.
document.getTextString()
Gets the currently selected text.
document.getTimeline()
Retrieves the current
Timeline object
in the document.
document.getTransformationPoint()
Gets the location of the transformation point of the
current selection.
document.group()
Converts the current selection to a group.
document.importPublishProfile()
Imports a profile from a file.
document.importSWF()
Imports a SWF file into the document.
document.match()
Makes the size of the selected objects the same.
document.mouseClick()
Performs a mouse click from the arrow tool.
document.mouseDblClk()
Performs a double mouse click from the arrow 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 (see File > Publish Settings); equivalent to
selecting File > Publish.
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.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.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.
Method
Description
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...