If the states are different colors you could use getpixel() to determine
where the rollover is... or if not then you could use the old technique of
saving a multicolored version of the map from Photoshop in a (8-bit) TEXT
file, use fileIO to read the map into memory and translate the mouse
position to a point in the text file to read the color as a number ...
Boyd Speer
Touchstone Digital Design
>> Anyway, I have a map of the U.S. When a user rolls over a particular
>> state, that state will light up (ooohhh, aaahhh). The question is, if each
>> state is set up as a different sprite, then the bounding area of the sprite
>> is a...BOX...(theme from "Jaws" begins playing).
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]