aeMoveDone (was:use-revolution Digest, Vol 74, Issue 28)

René Micout rene.micout at numericable.com
Mon Nov 16 18:35:55 EST 2009


That work !
Thank you Malte
René

Le 16 nov. 09 à 20:22, Malte Pfaff-Brill a écrit :

> local M1,M2,pointArrivée1,pointArrivée2
> on mouseUp
> if the short name of the target <>  
> "theNameOfTheContolThatShouldStartIt" then
> pass mouseUp
> end if
>     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
>     aeMoveTo M1,pointArrivée1,5000
> end mouseUp
>
> on aeMoveDone
> if the loc of M1<>pointArrivée2 then
>     aeMoveTo M1,pointArrivée2,5000
> end if
> end aeMoveDone




More information about the use-livecode mailing list