> I want to create a sprite which will response (more or less like html > image map).
A while back I needed to do this kind of thing for a map of the U.S., where rolling over a state triggered a variety of actions. I ended up having two map graphics as cast members, both the same size. The pretty one was displayed on stage, and the other was used only for rollover tests. In photoshop, I created the second map by filling each state with a unique solid RGB color (avoid antialiasing). By mapping the mouseloc on the "staged" image to the offstage map image and testing with getpixel(), I could check against a prop list of names (props) and rgb values (values), and return a name for a specific colored area. Once I had a name, I could do whatever I needed with the info. This is a bit work intensive, however (when compared to using invisible rects, for example), and I only use it when I need a relatively high degree of accuracy in the rollovers. hth, Kurt [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
