Some times its just not worth the time and effort to write all that code. Actionscipt code libraries are pre-built functions that you can use for the desired effect. Here are a few of my favorites
- Movieclip tweening prototypes (LMC Tween)
- Fuse Kit (heavy duty animation, but watch out it has a learning curve)