62
Chapter 3: Objects
document.rotateSelection()
Rotates the selection by a specified amount.
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.
document.selectAll()
Selects all items on the Stage; equivalent to pressing
A (Windows) or A (Macintosh) or
selecting Edit > Select All.
document.selectNone()
Deselects any selected items.
document.setAlignToDocument()
Sets the preferences for
document.align()
,
document.distribute()
,
document.match()
, and
document.space()
to act on the document; equivalent to
enabling the To Stage button in the Align panel.
document.setCustomFill()
Sets the fill settings for the toolbar, Property inspector,
and any selected shapes.
document.setCustomStroke()
Sets the stroke settings for the toolbar, Property
inspector, and any selected shapes.
document.setElementProperty()
Sets the specified
Element
property on selected
object(s) in the document.
document.setElementTextAttr()
Sets the specified
TextAttrs
property of the selected
text items to the specified value.
document.setFillColor()
Changes the fill color of the selection to the specified
color.
document.setInstanceAlpha()
Sets the opacity of the instance.
document.setInstanceBrightness()
Sets the brightness for the instance.
document.setInstanceTint()
Sets the tint for the instance.
document.setSelectionBounds()
Moves and resizes the selection in a single operation.
document.setSelectionRect()
Draws a rectangular selection marquee relative to the
Stage, using the specified coordinates.
document.setStroke()
Sets the color, width, and style of the selected strokes.
document.setStrokeColor()
Changes the stroke color of the selection to the specified
color.
document.setStrokeSize()
Changes the stroke size of the selection to the specified
size.
document.setStrokeStyle()
Changes the stroke style of the selection to the specified
style.
document.setTextRectangle()
Changes the bounding rectangle for the selected text
item to the specified size.
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 ...