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
onFWIdle0
onFWIdle1
onFWIdle2
onFwApplicationDeactivate
onFwApplicationActivate
onFwSymbolLibraryChange
onFwURLListChange
onFwFavoritesChange
onFwPreferencesChange
120
Cross-Product Extensions
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 Fireworks is in the first of a sequence of idle
states. Because Fireworks may often go through a
sequence of idle states, triggering functions by this event
may impair application performance.
Sent when Fireworks is in the second of a sequence of idle
states. Because Fireworks may often go through a
sequence of idle states, triggering functions by this event
may impair application performance.
Sent when Fireworks is in the third of a sequence of idle
states. Because Fireworks may often go through a
sequence of idle states, triggering functions by this event
may impair application performance.
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.
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers