Dave Taylor
03-06-2006, 09:15 AM
Hi very new to Flash & Action scripts.
Found the tutorial page the best yet.
var volts:Number;
volts = 12.5;
VoltMeter.text = volts + "V";
The above code prints the varible volts in a Dynamic Text Box
in another function I increase the volts, when it reaches 13 its dsiplayed as 13V, how can I get to show 13.0V, I have been playing with the formatter command but cant get it to function.
Regards, Dave
Found the tutorial page the best yet.
var volts:Number;
volts = 12.5;
VoltMeter.text = volts + "V";
The above code prints the varible volts in a Dynamic Text Box
in another function I increase the volts, when it reaches 13 its dsiplayed as 13V, how can I get to show 13.0V, I have been playing with the formatter command but cant get it to function.
Regards, Dave