Frame 1

Frame 30

As you can see the body was moved up and when the motion tween is applied it will fill all of the empty frames between frame 1 and 30 with the different stages of the animation, to make this animation seem more realistic, I used the ease in/out feature which basically slows things down more realistically when coming to a halt as opposed to stopping suddenly, this is a good feature of Flash and came in very handy with my animations.
There is some ActionScript in this Animation scene also which basically controls the animation of the Grow that I made for the Robot, there is a GO button and a STOP button and these are simple to make as they only require a short amount of code as shown below:
stop_bt.addEventListener(MouseEvent.CLICK, onStopClick, false, 0, true);
grow_bt.addEventListener(MouseEvent.CLICK, onPlayClick, false, 0, true);
function onStopClick(evt:MouseEvent):void {
growbody_mc.stop();
}
function onPlayClick(evt:MouseEvent):void {
growbody_mc.play();
}
As can be seen the "grow_bt" button was linked to making the "growbody_mc" Movie Clip play and the "stop_bt" was linked to making the animation stop, this is good for controlling the different movie clip animations that you could include in a larger scale file.






