|»Author||Karim Beyrouti | Search by Karim Beyrouti|
|»Description||This class provides an interface between director and flash - using the "setVariable(sprite, "command", outputCMD)" from director the command class parses and maps the string to functions and objects that registered to this class. Tha advantage of using this was that i could send complex data types from director to flash without writing specific code everywhere|
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.