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
Moving an object on a line
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
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
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
-
- Posts: 111
- Joined: Sun Aug 23, 2009 7:48 am
- Contact: