View Single Post
Old Jan 15th, 2008, 3:10 AM   #2
Swan
Newbie
 
Join Date: Jan 2008
Posts: 27
Rep Power: 0 Swan is on a distinguished road
Re: accessing parts of an instance in Actionscript/Flash

say "abc" is the name of the instance.
and "t1" and "t2" are the instance names of your text fields then,

abc.t1.text = " Hello" ;
abc.t2.text = "Wrtilaus" ;

would output "Hello" and "Writlaus" in the two textfields respectively.
Swan is offline   Reply With Quote