Asking the impossible
Rick Harrison
harrison at all-auctions.com
Mon Dec 9 00:56:53 EST 2013
Hi Jacqueline,
This is a long shot in the dark, but if you know
the exact coordinates of the transparent area,
and you know the exact coordinates of the
imagesource content, just check if the user
clicked either of those coordinates. Don’t
bother trying to look at the objects involved.
Yes, it is a work around, but it just might work
if you can’t find any other solution. You may
need tables to store your coordinate maps.
Cheers,
Rick
On Dec 9, 2013, at 12:03 AM, J. Landman Gay <jacque at hyperactivesw.com> wrote:
> I think this can't be done, but just in case:
>
> I have a transparent field that contains only an imagesource. It sits over a larger image. I need to differentiate whether the user has clicked on the imagesource content of the field or on its transparent area.
>
> I know this can be done with a normal image object, but what about an imagesource? Mousecolor won't work, there will always be a mousecolor.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.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