Flash 6 - Make a clickable bmp with event handlers
Posted on 2004-04-28
I have a map which is splitted by regions in bmp format (1 bmp).
What i wanna do is upload the bmp in Flash and make 3 event handlers.
1. OnMouseOver event - When the mouse is over a region (not the whole map), I want that, that particular region gets embossed (like zoomed) and that it change colour. If possible, a gradient colour.
2. OnMouseOut event - restores back settings.
3. OnClick - if a particular region is click, OnClick takes the user to a web page.
I am new to flash so I would appreciate details of how to do the above and the code please. I think that the bmp has to be turned as an object. If so, please explain how I can do it.
Moreover it would be appreciated if the html code of how to insert a flash object or movie clip into a web page is also stated here.