Adobe Extending Flash Professional CS4 User Manual
Page 80
58
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Switches the authoring tool into the editing mode specified by
the parameter.
Exits from symbol-editing mode and returns focus to the next
level up from the editing mode.
Exports the document as one or more PNG files.
document.exportPublishProfile()
Exports the currently active profile to an XML file.
document.exportPublishProfileString()
Returns a string that specifies, in XML format, the specified
profile.
Exports the document in the Flash SWF format.
Identical to retrieving the value of the To Stage button in the
Align panel.
Returns a string that specifies the blending mode for the
selected object(s).
Retrieves the fill object of the selected shape, or the Tools
panel and Property inspector if specified.
Returns the stroke object of the selected shape, or the Tools
panel and Property inspector if specified.
document.getDataFromDocument()
Retrieves the value of the specified data.
Gets the specified
Element
property for the current selection.
Gets a specified
TextAttrs
property of the selected Text
objects.
Returns an array that contains the list of filters applied to the
currently selected object(s).
Returns a string containing the XML metadata associated with
the document.
Returns the string passed to
document.setMobileSettings()
.
Returns a string that represents the targeted player version for
the specified document.
Gets the bounding rectangle of the current selection.
Gets the currently selected text.
Retrieves the current
in the document.
document.getTransformationPoint()
Gets the location of the transformation point of the current
selection.
Converts the current selection to a group.
Imports a file into the document.
document.importPublishProfile()
Imports a profile from a file.
document.importPublishProfileString()
Imports an XML string that represents a publish profile and sets
it as the current profile.
Imports a SWF file into the document.
Method
Description