|»Author||Andrew Fitzgerald | Search by Andrew Fitzgerald|
|»Description||Ever wonder how they make those menus or animations that can change direction in mid animation without having to wait until the end of the motion tween and still remained nice and smooth? Whew. Well here's a good start on how 'they' might do it.This is simple and should be fairly self-explanitory inside the .fla.Enter a value for the x-axis and click the button, and it moves to that location nice and smooth. Can change the speed to be faster or slower. Most of the time there would be no use for the senario in the example, but the removal of the input would make a normal, simple motion tween, with or without easing. I've looked everywhere for a decent tutorial on how to make a simple button animate by action script. There were some out there, but were far more complex. I just wanted something that could replicate a smooth motiontween. So here you are.|1|.|
The flash's horizontal road drive was done in CS4 and was upgraded to CS6. The car responds to right/ left key and flash will auto-generate the movement of roads from left-right or right-left based on random number. Have fun driving in this virtual environment and avoid other cars... :) If you are creative, a road driving game can be created from it.