Document object
63
Property summary for the Document object
You can use the following properties with the Document object.
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.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.unlockAllElements()
Unlocks all locked elements on the currently selected
frame.
document.xmlPanel()
Posts a XMLUI dialog box.
Property
Description
document.accName
A string that is equivalent to the Name field in the
Accessibility panel.
document.autoLabel
A Boolean value that is equivalent to the Auto Label
check box in the Accessibility panel.
document.backgroundColor
A color in hexidecimal format that represents the
background color.
document.currentPublishProfile
A string that specifies the name of the active publish
profile for the specified document.
document.currentTimeline
An integer that specifies the index of the active Timeline.
Method
Description
Summary of Contents for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Page 1: ...Flash JavaScript Dictionary ...
Page 16: ...16 Contents ...
Page 40: ...40 Chapter 2 Top level functions ...
Page 368: ...368 Chapter 3 Objects ...