|»Author||Manoj Mathew | Search by Manoj Mathew|
|»Description||This is a component to trace text in the stand alone player or in browser where the in built trace function is not available.You can give colour, size and bold to each of the text traced. The syntax is -_global.tracer("some text",color,bold,size);the first parameter is the text to be traced (String).color is the color of the text (String) for eg:- "FF0000", "339966" etcbold is a Boolean value to bold the text. If true the text will be bold. If false or not specified text will be normal.size is the font size (Number). default size (If no size is specified) is 12.The parameters can be in any order except the text to be traced should be the first. The color, size and bold can be given in any order.examples:-_global.tracer("my values",15,"FF0000",true);_global.tracer("my values","FF00FF",true,18);_global.tracer("my values",true,15,"333399");You can either copy the component from the attached fla's library to your fla or copy the attached swc file to the components directory in Application Data in your system.eg:- C:\Documents and Settings\"user name"\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\ComponentsThe component has two parameters that can be edited in the properties panel. 1. hideByDefault - if this is set to true the component will not be visible when the movie opens. It will be visible when the first tracer command is executed.2. Theme color - This is the color of the component.|
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.