Using code to play MovieClips in reverse and/or play them on a different frame rate.

One easy way to play movies clips reversed is to affect the currentFrame propriety. The problem is that currentFrame is read only, so you need to make a custom class that extends MovieClip where you can assign values to that propriety.

The class:

The MovieClip:
movieclipanimation.jpg

So with Tweener you can now play with your MovieClip. You can play it on reverse, play it on a different frame rate, and you can even use some crazy transitions.

Example:
example1.zip

One Response to “Using code to play MovieClips in reverse and/or play them on a different frame rate.”

  1. tufao Says:

    Actually it’s not necessary to extend the MovieClip, you can use a special property of Tweener called “_frame” which will do just that. Example:

    Tweener.addTween(mc, {_frame:1, time:2, transition:”easeinoutquad”});

    It’s that simple! ;o)

Leave a Reply