Adobe Extending Flash Professional CS4 User Manual
Page 82

60
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Saves and compacts the file; equivalent to selecting File > Save
and Compact.
Saves a version of the specified document to the Version Cue
server.
Scales the selection by a specified amount; equivalent to using
the Free Transform tool to scale the object.
Selects all items on the Stage; equivalent to pressing
Control+A (Windows) or Command+A (Macintosh) or
selecting Edit > Select All.
Deselects any selected items.
to act on the document; equivalent to
enabling the To Stage button in the Align panel.
Sets the blending mode for the selected objects.
Sets the fill settings for the Tools panel, Property inspector, and
any selected shapes.
Sets the stroke settings for the Tools panel, Property inspector,
and any selected shapes.
Sets the specified
Element
property on selected object(s) in
the document.
Sets the specified
TextAttrs
property of the selected text
items to the specified value.
Changes the fill color of the selection to the specified color.
Sets a specified filter property for the currently selected
object(s).
Applies filters to the selected objects.
Sets the opacity of the instance.
document.setInstanceBrightness()
Sets the brightness for the instance.
Sets the tint for the instance.
Sets the XML metadata for the specified document,
overwriting any existing metadata.
Sets the value of an XML settings string in a mobile FLA file.
document.setOvalObjectProperty()
Specifies a value for a specified property of primitive Oval
objects.
Sets the version of the Flash Player targeted by the specified
document.
document.setRectangleObjectProperty()
Specifies a value for a specified property of primitive Rectangle
objects.
Moves and resizes the selection in a single operation.
Draws a rectangular selection marquee relative to the Stage,
using the specified coordinates.
Method
Description