Setting script in object not working...

Glen Bojsza gbojsza at gmail.com
Wed Mar 21 20:48:16 EDT 2012


I tried a variation of that but for some reason the images aren't taking
the script consistently?

It's like the images sometimes work when they do get a script and other
times it takes several clicks before the script is executed?

I was thinking if there was a way to determine if the user clicks over an
image that is in a group and possible set a script in the group. This would
eliminate scripts limitations and any other possible issues.

I am not sure how to approach this... the group scrolls when there are more
images that can be seen on the screen but I don't think a mouseUp script
for the group is trapped on the scroll bar so that should be fine.

The question is how to determine the image below the mouse when the user
does click?



On Wed, Mar 21, 2012 at 6:23 PM, Mike Bonner <bonnmike at gmail.com> wrote:

> Might set up a hidden image object with the script already there and just
> clone or copy it. That way you don't have to worry about whether its a
> scriptlimits issue if nothing else.
>
>



More information about the use-livecode mailing list