User Guide

Document object 67
document.setTextSelection() Sets the text selection of the currently selected text
field to the values specified by the
startIndex and
endIndex values.
document.setTextString() Inserts a string of text.
document.setTransformationPoint() Moves the transformation point of the current
selection.
document.skewSelection() Skews the selection by a specified amount.
document.smoothSelection() Smooths the curve of each selected fill outline or
curved line.
document.space() Spaces the objects in the selection evenly.
document.straightenSelection() Straightens the currently selected strokes;
equivalent to using the Straighten button in the
Tools panel.
document.swapElement() Swaps the current selection with the specified one.
document.swapStrokeAndFill() Swaps the Stroke and Fill colors.
document.testMovie() Executes a Test Movie operation on the document.
document.testScene() Executes a Test Scene operation on the current
scene of the document.
document.traceBitmap() Performs a trace bitmap on the current selection;
equivalent to selecting Modify > Bitmap > Trace
Bitmap.
document.transformSelection() Performs a general transformation on the current
selection by applying the matrix specified in the
arguments.
document.unGroup() Ungroups the current selection.
document.union() Combines all selected shapes into a drawing
object.
document.unlockAllElements() Unlocks all locked elements on the currently
selected frame.
document.xmlPanel() Posts a XMLUI dialog box.
Method Description