|»Author||Lex Talkington | Search by Lex Talkington|
|»Description||This simple two line code allows the view to move the cursor left and right and see a movie clip go forward or reverse frame-by-frame according to where the cursor position is. This is set to only work where movieclip frame number correlates with with of stage. (ex.: stage is 200 pxl wide, movieclip is 20 frames long)|
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.