Great! Thanks Bjornke!
Bo;;

On Dec 3, 2014, at 2:10 PM, Björnke von Gierke <b...@mac.com> wrote:

> send "deleteTheImage" && myImage to this stack in 0 seconds
> 
> On 03 Dec 2014, at 22:57, William Prothero <proth...@earthednet.org> wrote:
> 
>> Folks:
>> I’m trying to delete an image from a script within that image  LC doesn’t 
>> like that because the script in the object hasn’t finished yet.
>> 
>> —the image script is:
>> on mouseUp
>>  put the name of me into myImage
>>  deleteTheImage myImage"
>> end mouseUp
>> 
>> —In the stack script
>> on deleteTheImage imageName
>>   delete image imageName
>> end deleteTheImage
>> 
>> The command failed because the “end mouseUp” has not executed and LC won’t 
>> delete the object where a script is running.
>> 
>> How should I approach this? Is there a command to dispatch a message after a 
>> short delay? I know there must be, I just can’t find it.
>> 
>> Regards,
>> Bill
>> 
>> William A. Prothero
>> http://es.earthednet.org/
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to