54
Fireworks Integration
FWLaunch.bringFWToFront()
Availability
Dreamweaver 3, Fireworks 3.
Description
This function brings Fireworks to the front if it is running.
Arguments
None.
Returns
Nothing.
FWLaunch.execJsInFireworks()
Availability
Dreamweaver 3, Fireworks 3.
Description
This function passes the specified JavaScript, or a reference to a JavaScript file, to Fireworks
to execute.
Arguments
javascriptOrFileURL
■
The
javascriptOrFileURL
argument, which is expressed as a file:// URL, is either a
string of literal JavaScript or the path to a JavaScript file.
Returns
A cookie object if the JavaScript passes successfully or a nonzero error code that indicates one
of the following errors occurred:
■
Invalid usage, which indicates that the
javascriptOrFileURL
argument is specified as a
null
value or as an empty string, or the path to the JS or JSF file is invalid.
■
File I/O error, which indicates that Fireworks cannot create a Response file because the
disk is full.
■
Error notifying Dreamweaver that the user is not running a valid version of Dreamweaver
(version 3 or later).
000_DW_API_Print.book Page 54 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...