Adobe 38040334 - Dreamweaver CS3 User Manual page 40

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

Advertisement

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
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
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).
• Error starting Fireworks process, which indicates that the function does not open a valid version of Fireworks
(version 3 or later).
• User cancelled the operation.
FWLaunch.getJsResponse()
Availability
Dreamweaver 3, Fireworks 3.
Description
This function determines whether Fireworks is still executing the JavaScript passed to it by the
function, whether the script completed successfully, or whether an error occurred.
InFireworks()
argument, which is expressed as a file:// URL, is either a string of literal JavaScript or
javascriptOrFileURL
argument is specified as a
DREAMWEAVER CS3
API Reference
value or as an
null
FWLaunch.execJs-
35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents