all groups > flash (macromedia) > july 2003 >
You're in the

flash (macromedia)

group:

Trigger button via image map?


Trigger button via image map? Flicka
7/27/2003 4:40:24 PM
flash (macromedia):
I have an invisible (sound only) button which I want to trigger via an existing image via an image map of an existing image. Is there an easy way to do this? Or must I slice this image and embed the button with graphics?


Re: Trigger button via image map? DamonMath
7/28/2003 5:37:52 PM
You can create what I like to call "HotSpots". Or simply invisible buttons.

Create a button that only has a hit state. You can code this button to activate your sounds on release, rollOver, rollOut, etc...

You can use these "HotSpots" to make a fakey image map of your larger image.

This way you can implement your sounds according to the invisible buttons you've created and not have to splice your image into separate buttons.

:)

Re: Trigger button via image map? Flicka
7/29/2003 1:14:21 PM
Thanks for the reply. I think my problem then is figuring out the HTML/JS to trigger it. I've got the invisible button, then in the image map I can put a link to the .swf- but that just loads the page with the sound for rollover. Should there be a javascript snippet somewheres? I'm kinda confused about the hand off in between...



Re: Trigger button via image map? DamonMath
7/29/2003 3:37:59 PM
Can you provide a zipped file or link to the project or even a sample test file would work?

I'm a little confused myself as to the exact intent of the image map. Are you using both an html image map and a .swf file embedded on the same page?

I almost 100% sure I can get you what you need if I can better understand the problem.

Thanks,

:)

AddThis Social Bookmark Button