Insert object functions
161
Arguments
arrayOfIndices
•
The
arrayOfIndices
function is an array of position indices in the History panel. If no
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
argument is the object that the
dreamweaver.historyPalette.getUndoState()
function 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
swcFilename
string is the path and name of the desired flash component relative to the
Configuration/Objects/FlashElements folder.
000_DW_API_Print.book Page 161 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...