Adobe Extending Flash Professional CS5 User Manual

Page 78

Advertising
background image

56

EXTENDING FLASH PROFESSIONAL

Document object

Last updated 5/2/2011

document.canTestScene()

Determines whether you can use the

document.testScene()

method successfully.

document.changeFilterOrder()

Changes the index of the filter in the Filters list.

document.clipCopy()

Copies the current selection from the document to the
Clipboard.

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.crop()

Uses the top selected drawing object to crop all selected
drawing objects underneath it.

document.debugMovie()

Initiates a debug session with the document.

document.deleteEnvelope()

Deletes the envelope (bounding box that contains one or
more objects) from the selected object.

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.disableAllFilters()

Disables all filters on the selected objects.

document.disableFilter()

Disables the specified filter in the Filters list.

document.disableOtherFilters()

Disables all filters except the one at the specified position in
the Filters list.

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.enableAllFilters()

Enables all the filters on the Filters list for the selected object(s).

document.enableFilter()

Enables the specified filter for the selected object(s).

document.enterEditMode()

Switches the authoring tool into the editing mode specified by
the parameter.

Method

Description

Advertising
This manual is related to the following products: