Insert Object Functions - Adobe 38040334 - Dreamweaver CS3 User Manual

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

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
argument is the object that the
undoState
returns.
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
string is the path and name of the desired flash component relative to the Configu-
swcFilename
ration/Objects/FlashElements folder.
Returns
Nothing.
Example
The following example inserts the navigation bar Flash component, which resides in the Compo-
nents/Objects/FlashElements/Navigation folder, into the current document:
dom.insertFlashElement("\Navigation\navBar.swc");
dreamweaver.historyPalette.getUndoState()
DREAMWEAVER CS3
127
API Reference
function

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents