MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 93

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

Advertisement

Creating event handlers
To create an event handler, implement a function with the corresponding event name. Currently,
Fireworks supports the following events for Flash panels:
Event
onFwStartMovie
onFwStopMovie
onFwUnitsChange
onFwPICollapseOrExpand
onFwDocumentNameChange
onFwCurrentFrameChange
onFwCurrentLayerChange
onFwHistoryChange
onFwApplicationDeactivate
onFwApplicationActivate
onFwSymbolLibraryChange
onFwURLListChange
onFwFavoritesChange
onFwPreferencesChange
onFwDocumentSizeChange
onFwActiveViewChange
onFwPixelSelectionChange
onFwActiveSelectionChange
onFwActiveDocumentChange
onFwActiveToolParamsChange
onFwActiveToolChange
onFwZoomChange
onFwObjectSettingChange
Note: The event handler must be implemented in the global namespace. Any events that are in the
SWF file but aren't global, or are only read after Fireworks checks for events, will not work correctly.
Description
Sent to the SWF file right after Fireworks has started (or
restarted) the SWF file.
Sent to the SWF file right before Fireworks stops the file (and
possibly unloads it).
Sent when the user changes the type of units (inches, pixels,
centimeters) in the Info panel.
Sent when the user switches the PI between two rows high and
four rows high.
Sent when the name of the current document changes (for
example, when the user performs a save).
Sent when the user selects a different frame.
Sent when the user selects a different layer.
Sent when the user creates an non-scriptable history step.
Sent when the Fireworks application loses focus.
Sent when the Fireworks application gains focus.
Sent when the symbol library changes in some way.
Sent when a new URL is added to the document.
Sent when the favorite urls list is modified.
Sent when the preferences are changed.
Sent when the document is resized.
Sent when the active view changes. This happens when the user
changes focus in 2- or 4-Up view.
Sent when the pixel selection changes.
Sent when the selection changes in a document.
Sent when the user creates a new document, closes a document,
opens a document, or switches between open documents.
Sent when the user changes the tool stroke or fill attributes.
Sent when the user changes tools.
Sent when the zoom setting for the current document changes.
Sent when a stroke or fill setting is changed for the
selected object.
Flash panels
93

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