9. While tracking the Fireworks progress, Dreamweaver sees the positive result and integrates the
graphics by rewriting the DOM of the current page.
10. The dialog box is closed, and the current page is refreshed to correctly present the finished product.
To successfully control Fireworks, you need a complete understanding of the Fireworks DOM and its extension
capabilities. Adobe provides documentation for extending Fireworks from its support site: www.adobe.com/
support/fireworks.
The History panel in Fireworks is useful??”especially the Copy Command to Clipboard function.
To see the underlying JavaScript used to create an object in Fireworks, first make the
object. Next, highlight the History panel steps and click the Copy To Clipboard button. Paste the clipboard
contents in a text editor to see the exact steps Fireworks used; you can then begin to generalize the statements
with variables and other functions.
On the Dreamweaver side, the FWLaunch C Library has seven useful methods, detailed in Table 24-1.
TABLE 24-1
FWLaunch Methods
Method Returns Use
bringDWToFront() N/A Brings the Dreamweaver window in
front of any other application running
bringFWToFront() N/A Brings the Fireworks window in front
of any other application running
execJsInFireworks Result from running the scriptlet Executes the supplied JavaScript
(javascriptOrFileURL) in Fireworks.
Pages:
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363