|»Author||Davide Caricato | Search by Davide Caricato|
|»Description||This little class gives you the opportunity to have two dofferent event handlers for the sngle click or the double click on a movieclip or a button. The only thing you have to do is to assign this class to the movie, and then rewrite the two new methods, onDoubleClick and onSingleClick, WITHOUT rewriting or changing the onRelease event. This two methods are generated using the existing onRelease method, and the onPress is still available.|
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.