Clearing an Image object?

Doug Lerner doug at webcrossing.com
Wed Jan 7 04:16:15 EST 2004


On 1/7/04 5:34 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:

> Doug Lerner wrote:
> 
>> If I do
>> 
>> on mouseLeave
>> choose browse tool
>> end mouseLeave
>> 
>> then when I leave the paint area the tool correctly turns into the browse
>> tool (though it shouldn't according to the docs, because supposedly the
>> mouseLeave message is not sent unless it already is the browse tool).
>> 
>> But then when I leave the pop-up the handler gets invoked again so instead
>> of my selected tool it turns back into the browse tool again.
>> 
>> So I need to maybe figure out *what* I just left, for example...
> 
> Is that script on the card? Can you just move the script to the mage object
> itself?
>
That script was on the stack. I'll try moving it to the image itself. I
thought that is where it was, but it wasn't working because the message is
sent to the card, which is higher up in the hierarchy - but I'll try it
again...

doug



More information about the use-livecode mailing list