Page 2 of 2
Posted: Mon Nov 09, 2009 12:57 pm
by tal
Hi malte,
I tested your application, it is exactly what i wanted, but i had a problem to test your script.
I have to put your script in the button i want to move and what else?
Thank you
Posted: Mon Nov 09, 2009 1:31 pm
by malte
Have animationengine in use.
Put this into the card script (or another sensible place you use to initialize):
on openCard
start using "animationEngine"
set the loc of btn 1 to line 1 of the points of grc 1
set the constrainLinear of btn 1 to line 1 of the points of grc 1,line 2 of the points of grc 1
end openCard
Hth,
Malte
Posted: Mon Nov 09, 2009 1:55 pm
by tal
I tested it, it works, thank very much it was very helpfull.
Best regards
Posted: Mon Nov 16, 2009 10:15 am
by tal
Hi everybody,
The solution with animation engine works but with a simple object (grc, fld, btn...), if i have a group of objects it doesn't work, have you a got a solution to this?
Thanks,
Posted: Mon Nov 16, 2009 10:15 am
by tal
Hi everybody,
The solution with animation engine works but with a simple object (grc, fld, btn...), if i have a group of objects it doesn't work, have you a got a solution to this?
Thanks,
Posted: Thu Nov 19, 2009 10:53 am
by hliljegren
If you create a group of your objects and then move the group I can't see why it shouldn't work.