Customizing HTML publishing templates
485
To create an image map:
1.
In your Flash document, select the keyframe to be used for the image map and label it
#Map
in the frame Property inspector (select Window > Properties if the Property
inspector is not visible). You can use any keyframe with buttons that have attached Get
URL 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
Flash SWF file.
2.
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.
3.
In an HTML editor, open the HTML template you’ll modify. Flash stores HTML
templates in the following location:
boot drive
:\Program Files\Macromedia\Flash 8\
language
\First Run\HTML.
4.
Save your template.
5.
Select File > Publish Settings, click the Format tab, and select a format for the image map:
GIF, JPEG, or PNG.
6.
Click OK to save your settings.
For example, insert the following code in a template:
$IM
<img src=$IS usemap=$IU width=$IW height=$IH BORDER=0>
This might produce the following code in the HTML document created by the Publish
command:
<map name="mymovie">
<area coords="130,116,214,182" href="http://www.macromedia.com">
</map>
<img src="mymovie.gif" usemap="#mymovie" width=550 height=400 border=0>
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...