AW: how to get a clickable map over an image?

Tiemo Hollmann TB toolbook at kestner.de
Wed Apr 27 07:33:11 EDT 2011


Klaus, you made my day! -Or- I knew it was Ditto...
Thanks to the bass man from the river Rhein
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> bounces at lists.runrev.com] Im Auftrag von Klaus on-rev
> Gesendet: Mittwoch, 27. April 2011 12:24
> An: How to use LiveCode
> Betreff: Re: how to get a clickable map over an image?
> 
> Hi Tiemo,
> 
> > Hi,
> >
> > Is there still anybody left, not being in San Jose?
> 
> Yep, me :-)
> 
> > I am trying to get multiple polygon shaped areas clickable within an
image.
> > So my first idea was to put multiple transparent polygons over my image
as
> > clickable buttons.
> > But new I experience that a polygon is only mouse sensitive, when it is
> > opaque.
> > Strange to say, the border of the transparent polygon is mouse
sensitive,
> > though I set the border to size 0!?
> >
> > Am I missing something with my polygons or what is the appropriate way
to
> > get multiple polygon shaped areas of an image mouse sensitive without
> > cutting the image into multiple pieces?
> >
> > Thanks for any idea
> 
> DITTO? :-D
> 
> Create you graphics (border or not, doesn't matter) and then set their INK
to
> "NOOP"!
> 
> This will make these graphics invisible for our eyes, but not for the
mouse!
> They still remain "clickable" and repsonsive!
> 
> I use this technique for years without any problems!
> 
> > Tiemo
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major.on-rev.com
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list