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
the Configuration/Objects/FlashElements folder.
Returns
Nothing.
Example
The following example inserts the navigation bar Flash component, which resides in the
Components/Objects/FlashElements/Navigation folder, into the current document:
dom.insertFlashElement("\Navigation\navBar.swc");
dreamweaver.objectPalette.getMenuDefault()
Availability
Dreamweaver MX 2004.
Description
Retrieves the ID string of the default item for the associated menu.
string is the path and name of the desired flash component relative to
Insert object functions
171
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?