Flash can generate
an image map to show any image and maintain the function of buttons
that link to URLs. When an HTML template includes the $IM template
variable, Flash inserts the image map
code. The $IU variable identifies the name of the
GIF, JPEG, or PNG file.
In your document, select the keyframe to use for
the image map and label it #Map in
the frame Property inspector (Window > Properties >
Properties). Use any keyframe with buttons that have attached ActionScript
1.0 or 2.0 getURL actions.
If you don’t create a frame label, Flash creates
an image map using the buttons in the last frame of the SWF file.
This option generates an embedded image map, not an embedded SWF
file.
To select the frame to show the image map, do one of
the following:
For PNG or GIF files, label the frame to
appear as #Static.
For JPEG, during the publish operation, place the
playhead on the frame to be used for display.
In an HTML editor, open the HTML template you’ll modify.
Save your template.
Select File > Publish Settings, click Format,
select a format for the image map, and click OK.
For example, insert the following code in a template:
Comments
Comments are no longer accepted for Flash CS3. Flash CS4 is the current version. To discuss Flash CS3, please use the Adobe forum.