Adobe 65011817 Extended User Guide - Page 300
Publishing
UPC - 883919157368
View all Adobe 65011817 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 300 highlights
Last updated 12/8/2009 EXTENDING FIREWORKS 296 Cross-Product Extensions Event onFwFavoritesChange onFwPreferencesChange onFwDocumentOpen onFwDocumentClosed onFwDocumentSave onFwDocumentSizeChange onFwActiveViewChange onFwPixelSelectionChange onFwActiveSelectionChange onFwActiveDocumentChange onFwActiveToolParamsChange onFwActiveToolChange onFwZoomChange onFwObjectSettingChange Description Sent when the favorite URLs list is modified. Sent when the preferences are changed. Sent when the document is opened. Sent when the document is closed. Sent when a save action is performed in the document. 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. 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 read only after Fireworks checks for events, will not work correctly. 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 handler. Publishing When testing your script, use the File > Publish menu option in Adobe Flash. The Shockwave file is in the same place as the FLA file after publishing.