User Guide
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