Demonstrates creating a MovieClip using JavaScript. A tween is created to animate each Shape instance and is added to the MovieClip.timeline. The timeline can then be controlled by JavaScript. Requires TweenJS.
MovieClip
MovieClip.timeline
TweenJS