MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 94

Extending fireworks
Hide thumbs Also See for FIREWORKS MX 2004-EXTENDING FIREWORKS:
Table of Contents

Advertisement

Example
function onFwDocumentNameChange()
{
// your code goes here
}
Example
_global.onFwDocumentNameChange = function ()
{
// your code goes here
}
Both examples show how to implement a handler for the document name changed event.
However, the second example will only work if the assignment executes before or during the
onFwStartMovie
Publishing
When testing your script, use the File > Publish menu option in Macromedia Flash MX. The
Shockwave file is in the same place as the FLA file after publishing.
Debugging
Fireworks provides two functions to help debug Flash panel ActionScript (see
"fw.enableFlashDebugging()" on page 247
the Flash debugging functions to show or hide everything that the Shockwave file passes to the
Fireworks API during execution. Place these debug functions around the suspect code in your
Macromedia Flash ActionScript to turn the debugging functions on or off as needed. Be careful to
use these functions only around "suspect" code; otherwise, you might encounter a long series of
dialog box statements.
94
Chapter 3: Cross-Product Extensions
handler.
and
"fw.disableFlashDebugging()" on page
247). Use

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FIREWORKS MX 2004-EXTENDING FIREWORKS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Fireworks mx 2004

Table of Contents