MovieClip Random Frame

myClip.gotoAndStop(int(Math.random() * myClip.totalFrames + 1));

An easy way to make a MovieClip go to a random frame. In the future I may post a demo of this technique.

Leave a Reply

Your email address will not be published. Required fields are marked *