1 Reply Latest reply on Dec 7, 2010 11:59 AM by Flex harUI

    Sync'ing movieclip frame rate with movement on screen

    Guha2000

      I have a situation where I need to move a wheel on screen (based on user input on speed and acceleration) in such a way that the wheel rotation is in line with movement on screen, so wheel doesnt appear to slip. i.e in a given internal, wheel speed=wheel rotation * 2*pi*r

       

      As the wheel moves with user provided veleocity and acceleration across the screen, how do i control wheel rotation- I have built the rotation in Flash Pro in 40 frames- is there a way to dynamically control the movieclip running to achieve this?