60
Chapter 3: Objects
document.clipCut()
Cuts the current selection from the document and writes
it to the Clipboard.
document.clipPaste()
Pastes the contents of the Clipboard into the document.
document.close()
Closes the specified document.
document.convertLinesToFills()
Converts lines to fills on the selected objects.
document.convertToSymbol()
Converts the selected Stage item(s) to a new symbol.
document.deletePublishProfile()
Deletes the currently active profile, if there is more than
one.
document.deleteScene()
Deletes the current scene (
Timeline object
) and, if the
deleted scene was not the last one, sets the next scene
as the current Timeline object.
document.deleteSelection()
Deletes the current selection on the Stage.
document.distribute()
Distributes the selection.
document.distributeToLayers()
Performs a distribute-to-layers operation on the current
selection; equivalent to selecting Distribute to Layers.
document.documentHasData()
Checks the document for persistent data with the
specified name.
document.duplicatePublishProfile()
Duplicates the currently active profile and gives the
duplicate version focus.
document.duplicateScene()
Makes a copy of the currently selected scene, giving the
new scene a unique name and making it the current
scene.
document.duplicateSelection()
Duplicates the selection on the Stage.
document.editScene()
Makes the specified scene the currently selected scene
for editing.
document.enterEditMode()
Switches the authoring tool into the editing mode
specified by the parameter.
document.exitEditMode()
Exits from symbol-editing mode and returns focus to the
next level up from the editing mode.
document.exportPublishProfile()
Exports the currently active profile to a file.
document.exportSWF()
Exports the document to the specified file in the Flash
SWF format.
document.getAlignToDocument()
Identical to retrieving the value of the To Stage button in
the Align panel.
document.getCustomFill()
Retrieves the fill object of the selected shape or, if
specified, the toolbar and Property inspector.
document.getCustomStroke()
Returns the stroke object of the selected shape or, if
specified, the toolbar and Property inspector.
document.getDataFromDocument()
Retrieves the value of the specified data.
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 ...