Document object
59
Document object
Availability
Flash MX 2004.
Description
The Document object represents the Stage. That is, only FLA files are considered documents.
Method summary for the Document object
You can use the following methods with the Document object.
Method
Description
document.addDataToDocument()
Stores specified data with a document.
document.addDataToSelection()
Stores specified data with the selected object(s).
document.addItem()
Adds an item from any open document or library to the
specified Document object.
document.addNewLine()
Adds a new path between two points.
document.addNewOval()
Adds a new oval in the specified bounding rectangle.
document.addNewPublishProfile()
Adds a new publish profile and makes it the current one.
document.addNewRectangle()
Adds a new rectangle or rounded rectangle, fitting it into
the specified bounds.
document.addNewScene()
Adds a new scene (
Timeline object
) as the next scene
after the currently selected scene and makes the new
scene the currently selected scene.
document.addNewText()
Inserts a new empty text field.
document.align()
Aligns the selection.
document.allowScreens()
Use this method before using the
document.screenOutline
property.
document.arrange()
Arranges the selection on the Stage.
document.breakApart()
Performs a break-apart operation on the current
selection.
document.canEditSymbol()
Indicates whether Edit Symbols menu and functionality
is enabled.
document.canRevert()
Determines whether you can use the
document.revert()
or
fl.revertDocument()
method successfully.
document.canTestMovie()
Determines whether you can use the
document.testMovie()
method successfully.
document.canTestScene()
Determines whether you can use the
document.testScene()
method successfully.
document.clipCopy()
Copies the current selection from the document to the
Clipboard.
CHAPTER 3
Objects
Содержание 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 ...