Control a Timeline with Mouse Position

Make It Happen

Ok, let's finally get that promised interaction happening! We just need to send main to a frame number equal to our xPos variable.

  1. Click ActionScript 2.0 Classes > Movie > MovieClip > Methods > gotoAndStop
  2. The Object is main
  3. The Frame is equal to our xPos variable

Test it out.... from 0 to 100%, or frame 1 to 100:

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player