aeMoveDone (was:use-revolution Digest, Vol 74, Issue 28)
revolution at derbrill.de
Mon Nov 16 13:22:38 CST 2009
aeMoveDone is sent to the moving object, not to the script that called
aeMoveTo. So if you trap it at card level (or in the control itself)
it will work.
Also rememeber to check for the position you arrived at, as aeMoveDone
will be sent after every aeMoveTo has finished.
e.g. if you move the script to card level:
if the short name of the target <>
get the points of grc "RacineTest"
put line 1 of it into pointDépart1
put line 2 of it into pointArrivée1
set the loc of grc "Mèche" to pointDépart1
put the long ID of grc "Mèche" into M1
get the points of grc "RacineTest2"
put line 2 of it into pointArrivée2
if the loc of M1<>pointArrivée2 then
Hope that helps,
More information about the use-livecode