Editing behaviors
The Behaviors panel also gives you the ability to edit existing behaviors. You can specify the type
of mouse event (such as onClick) that triggers the behavior.
Note: You cannot change the event for Simple Rollover and Set Nav Bar Image.
To change the mouse event that activates the behavior:
Select the trigger slice or hotspot containing the behavior you want to modify.
1
All behaviors associated with that slice or hotspot are displayed in the Behaviors panel.
Select the behavior you want to edit.
2
Click the arrow beside the event and choose a new event from the pop-up menu:
3
triggers the behavior when the pointer rolls over the trigger area.
onMouseOver
triggers the behavior when the pointer leaves the trigger area.
onMouseOut
triggers the behavior when the trigger object is clicked.
onClick
triggers the behavior when the web page is loaded.
onLoad
Using external image files for swap image
You can use an image outside the current Fireworks document as the source for a swap image.
Source images can be in GIF, animated GIF, JPEG, or PNG format. When you choose an
external file as the image source, Fireworks swaps that file with the target slice when the swap
image is triggered in a web browser.
The file must have the same width and height as the slice it is swapping into. If it does not, the
browser resizes the file to fit within the slice object. Resizing the file may reduce its quality,
especially in the case of an animated GIF.
To choose an external image file as the source for a swap image:
While in the Swap Image, Nav Bar Over, or Nav Bar Down dialog box, choose Image File and
1
click the folder icon.
Note: If you don't see this option in the Swap Image dialog box, choose More Options and then
perform step 1.
Navigate to the file you want to use, and click Open.
2
If necessary, deselect Preload Images (if the external file is an animated GIF).
3
Precaching can interrupt the display of animated GIFs as rollover states. To avoid this problem,
deselect Preload Images when setting up the rollover.
Note: If you plan to export your document for use on the web, be sure that your external image file
is accessible from the exported Fireworks HTML. Fireworks creates document-relative paths to
image files. It is a good idea to place external files in your local site before using them as swap
images in Fireworks. When you upload your files to the web, be sure that the external image file is
uploaded as well. For more information on Fireworks HTML, see
"Exporting HTML" on page
Making slices interactive
252.
179
Need help?
Do you have a question about the FIREWORKS MX 2004-USING FIREWORKS and is the answer not in the manual?