Adobe Fireworks CS3 Benutzerhandbuch

Seite von 369
ADOBE FIREWORKS CS3
User Guide
344
For documentation on the JavaScript API, see Extending Fireworks.
About scripting with Flash SWF files
With Flash, you can create SWF movies that contain JavaScript code. These movies can be used as Fireworks 
commands, accessible from the Commands menu in Fireworks.
You can even create a SWF movie and use it as a Fireworks panel, accessible from the Window menu. The Align panel 
in Fireworks is an example of a Flash movie imported as a panel.
SWF movies that are used as commands are stored in the Commands folder on your hard disk, and SWF movies that 
are used as panels are stored in the Command Panels folder.
Note: The exact location of these folders varies from system to system and depends on whether you want the command 
or panel to be available just to your user profile or to all users. 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. 
For more information, see “Working with configuration files” on page 350.
For more detailed instructions about creating commands or panels from Flash SWF movies, see Extending Fireworks.
Managing commands
You can rename or delete any commands that appear in the Commands menu.
You can rename or delete any commands that you create using the Manage Saved Commands option in Fireworks. 
You must 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.
To rename a custom command that you created:
1
Select Commands > Manage Saved Commands.
2
Select the command.
3
Click Rename, enter a new name, and click OK.
To delete a custom command that you created, do one of the following:
In Fireworks, select Commands > Manage Saved Commands. Then select the command and click Delete.
On your hard disk, delete the JSF file for the command from the Commands folder in your user-specific Fireworks 
configuration folder. For information on locating this folder, see “About user configuration files” on page 351.
To rename or delete a command that shipped with Fireworks or that you downloaded from the Adobe 
Exchange:
Select Command > Manage Extensions.
Select Help > Manage Extensions.
The Extension Manager opens. For information about how to manage extensions, see Extension Manager Help.
Editing or customizing a command script
Command scripts are saved as JavaScript. If you know JavaScript, you can open and edit commands in any text 
editor, such as Notepad (Windows) or TextEdit (Macintosh).