|»Author||Pete Peterson | Search by Pete Peterson|
|»Description||I work a lot with dynamic text, creating files for easy localization into other languages. When the text string is localized, the new length of the text string has prevented me from adding an icon or arrow at the end of it. I created this file that shows how I solved my problem. I create a text object using actionscript, find the new length of the text field, and place an icon at the end of the text field via attachMovie.|
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.