Changing the default auto-naming convention
You can change the naming convention for slices from the Document Specific tab in the HTML Setup dialog box.
Fireworks lets you specify your own naming convention using a wide range of naming options. You can create a naming convention that contains up to eight elements. An element can consist of any of the following auto-naming options.
Option |
Description |
---|---|
None |
No name is applied to the element. |
doc.name |
The element takes the name of the document. |
"slice" |
You can insert the word "slice" into the naming convention. |
Slice # (1,2,3...) Slice # (01,02,03...) Slice # (A,B,C...) Slice # (a,b,c...) |
The element is labeled numerically or alphabetically, according to the style you select. |
row/column (r3_c2, r4_c7...) |
Row (r##) and Col (c##) designate the rows and columns of the table that web browsers use to reconstruct a sliced image. You can use this information in the naming convention. |
Underscore Period Space Hyphen |
The element uses any of these characters typically as separators between other elements. |
For example, if the document name is mydoc, the naming convention doc.name + "slice" + Slice # (A,B,C...) results in a slice called mydocsliceA. Chances are that you will never require a naming convention that uses all eight elements.
If a slice has more than one frame, by default Fireworks adds a number to each frame's file. For example, if you enter the custom slice filename home for a three-state button, then Fireworks names the Up state graphic home.gif, the Over state graphic home_f2.gif, and the Down state graphic home_f3.gif. You can create your own naming convention for multiframe slices using the HTML Setup dialog box.
To change the default auto-naming convention:
- Select File > HTML Setup to open the HTML Setup dialog box.
- Click the Document Specific tab.
- In the File Names section, create your new naming convention by selecting from the lists.
- (Optional) To set this information as the default for all new Fireworks documents, click Set Defaults.
NOTE
Use caution when selecting None as a menu option for slice auto-naming. If you select None as the option for any of the first three menus, Fireworks exports slice files that overwrite one another, resulting in a single exported graphic and a table that displays this graphic in every cell.