View Full Version : is this possible
jonnew
03-10-2006, 02:51 PM
is it possible to create a textbox on the fly, assign a veriable name to it and drop all this into a while loop to make as many dynamic textboxes as required, using only action script, and if so where can i get the info to show me the way.:confused:
thanks in advance john.
jjbilly
03-10-2006, 04:02 PM
Yup.
Creating textfields is a slight pain - because creating them doesn't return a reference.
So - you need to do something along these lines (i is some index variable, probably supplied by your loop):
myClip.createTextField("tempRef"+i, i, 0,0,100,100)
var myRef = myClip["tempRef"+i]
jonnew
03-10-2006, 04:19 PM
thanks for that
john:D
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.