Hiya Malte,
Any hints on how to cancel / exit a currently executing aemoveto command? (after it's been issued, from a different handler)
I've tried cancelling items in the pending messages(stops it for a second, but seems to pick up original anim on next issued aemoveto command, setting the loc of the same object (just gets overidden again).
Issuing ANOTHER aemoveto (loc of itself!) command to the same object DOES seem to work, but introduces some other delays in the scripts I think.
is there a flag or another command that can be set somehow?
Cheers,
Anthony.
How to exit / cancel a currently running aemove to event?
Moderators: heatherlaine, kevinmiller, robinmiller, malte
-
- VIP Livecode Opensource Backer
- Posts: 18
- Joined: Wed Oct 13, 2010 4:44 am
Re: How to exit / cancel a currently running aemove to event?
Hi Anthony,
use
aeStopmoving [reference to the control that moves] -- must be the same reference you used in aeMoveTo
or aeStopMoving "all"
Cheers,
malte
use
aeStopmoving [reference to the control that moves] -- must be the same reference you used in aeMoveTo
or aeStopMoving "all"
Cheers,
malte