How to convert a Flash/After Effects animation into a JSMovieclip animation