Flash actionscript 3.0: Display a text in root text box using Actionscript 3.0

Display a text in root text box using Actionscript 3.0

Posted by Sankar.G | Posted in | Posted on 11:46 PM

if you want to display a text in a root text box using Action script 3.0 use this code
textbox name in the root is t1_txt

code: root["t1_txt"].text=("Some Text");

if you want to display a number in root text box
var a:Number=10;
code: root["t1_txt"].text=Number(a).toString();

this is the way to display a text in the root text box using Action script 3.0

Comments (0)