How do I make something like a html imagemap on a graphical object?

William de Smet williamdesmet at gmail.com
Tue Jan 24 16:11:23 EST 2012


Hi there,

I made a graphical oval object "pacman" with a startAngle of 28 and a
arcAngle of 304.
It's background is yellow.

Want I want to do is something like a html image map: define an area
where something happens.
I want the cursor to change 'on mouseenter' but only when the mouse is
over 'packman' or over its's 'mouth'
Ofcourse I can do this by using  'dummy' transparent graphical objects
placed over the 'pacman' and over it's mouth
but I am looking for a way to do this by script.

Is this possible?

greetings,

William




More information about the use-livecode mailing list