Question
Container Help
Hi all.
Beware, I'm very new still to AS3, AS ing general really.
Let's say I want to animate a spider using tweens. I have a movie clip for each part, body, eyes, legs. Coming from a 3D background, I would group the components or use constraints to hold them all together, so that when I move the body, the rest will follow. I can then use tweens to make the legs and eyes rotate randomly.
However, I have no idea how to do this in AS3. I thought I could use Containers, but can't figure that out. I thought I would be able to simply state that spiderEye.y = spiderBody.y; but that seems to only kind of work (the eye follows, but is always one tween behind!).
Any help on how I could make one movieclip follow another, whilst using the caurina tween library, would really help me out (and stop me drinking so much coffee, therefore increasing my chance of living longer!).
Take care, Andrew.
Beware, I'm very new still to AS3, AS ing general really.
Let's say I want to animate a spider using tweens. I have a movie clip for each part, body, eyes, legs. Coming from a 3D background, I would group the components or use constraints to hold them all together, so that when I move the body, the rest will follow. I can then use tweens to make the legs and eyes rotate randomly.
However, I have no idea how to do this in AS3. I thought I could use Containers, but can't figure that out. I thought I would be able to simply state that spiderEye.y = spiderBody.y; but that seems to only kind of work (the eye follows, but is always one tween behind!).
Any help on how I could make one movieclip follow another, whilst using the caurina tween library, would really help me out (and stop me drinking so much coffee, therefore increasing my chance of living longer!).
Take care, Andrew.
