Dreamweaver.historypalette.setundostate(); Insert Object Functions; Dom.insertflashelement() - MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

Arguments
arrayOfIndices
The
arrayOfIndices
argument is supplied, all the steps are unselected.
Returns
Nothing.
Example
The following code selects the first, second, and third steps in the History panel:
dreamweaver.historyPalette.setSelectedSteps([0,1,2]);

dreamweaver.historyPalette.setUndoState()

Availability
Dreamweaver 3.
Description
Performs the correct number of undo or redo operations to arrive at the specified undo state.
Arguments
undoState
The
undoState
dreamweaver.historyPalette.getUndoState()
Returns
Nothing.

Insert object functions

Insert object functions handle operations related to the objects on the Insert bar or listed on the
Insert menu.

dom.insertFlashElement()

Availability
Dreamweaver MX 2004.
Description
Inserts a specified Flash element (SWC file) into the current document. This function assumes
that the Flash element has been added to the Insert bar, and the component file resides in the
Configuration/Objects/FlashElements folder or subfolder.
Arguments
swcFilename
The
swcFilename
Configuration/Objects/FlashElements folder.
function is an array of position indices in the History panel. If no
argument is the object that the
string is the path and name of the desired flash component relative to the
function returns.
Insert object functions
161

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents