![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash can generate an image map to display 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.
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.
For example, inserting the following code in a template:
$IM <img src=$IS usemap=$IU width=$IW height=$IH BORDER=0>
might produce this 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>
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |