| Adobe Fireworks CS4 |
|
Fireworks CS4 Resources |
Extending FireworksAn extension is a command script, command panel, library, filter, pattern, texture, or Auto Shape that adds to the functionality of Fireworks. Fireworks ships with the Adobe Extension Manager, which allows you to easily install, manage, and delete extensions. A collection of default extensions appears in the Commands menu. If you are proficient in JavaScript, you can create your own Fireworks extensions. You can also use Fireworks Cross Product Communication Architecture to allow ActionScript™ and C++ applications to control Fireworks. For more information, see Extending Fireworks Help. When installing or creating extensions, note the following:
Open the Extension Manager from within Fireworks Do one of the following:
Scripting with the History panelThe History panel records a list of the steps you have performed while working in Fireworks. Each step is stored on a separate line of the History panel, starting with the most recent. By default, the panel remembers 20 steps. However, you can change this value at any time. You can save groups of steps in the History panel as a command that you can reuse. Because saved commands are not document‑specific, you can use them in any Fireworks document. Saved commands are stored as JSF files in the Commands folder in your user‑specific Fireworks configuration folder. You can execute recorded commands or a selection of actions in the History panel at any time. Save steps as a command for reuse
Undo or redo steps
Change the number of steps the History panel remembers
Clear all steps
Clearing steps frees memory and disk space. You can’t undo edits from cleared steps. Play back a saved command
Replay a selection of steps
Apply selected steps to objects in many documents
About scripting with JavaScriptTo reduce the tedium of some repetitive tasks, write your own JavaScript in a text editor to run within Fireworks. You can control nearly every command or setting in Fireworks through JavaScript. Because Dreamweaver also uses JavaScript, you can write scripts that control Fireworks from within Dreamweaver. For documentation on the JavaScript API, see Extending Fireworks. Creating commands and panels with FlashTo create your own Fireworks commands or panels, use Adobe Flash® to create SWF movies that contain JavaScript code. Store movies used as commands in the Commands folder on your hard disk. Store movies used as panels in the Command Panels folder (the Align panel is an example). Note: The exact location of these folders varies.
Commands and Command Panels folders are located in the Configuration
folder in the Fireworks application folder and also in your user‑specific
Fireworks configuration folder.
Manage commandsNote: You can rename or delete any commands
that you create by using the Manage Saved Commands option in Fireworks.
Use the Extension Manager for other commands and extensions that
were installed with Fireworks or that you downloaded and installed
from the Adobe Exchange website.
Rename a custom command that you created
Delete a custom command that you created Do one of the following:
Note: To rename or delete a command that shipped with
Fireworks or that you downloaded from the Adobe Exchange, open the
Extension Manager.
Command scripts are saved as JavaScript and can be edited in any text editor. Edit a command, using JavaScriptCommand scripts are saved as JavaScript and can be edited in any text editor.
Edit selected actions from the History panel, using JavaScript
|