View Full Version : Textbox variable referring to array
mparmpedas
12-01-2005, 09:49 AM
I want a textbox variable to refer to a certain member of an array. I.e. i have a people[...] array and i want the name textbox variable to refer to people[i]. Any ideas? Entering people[i] in the variable field on textbox properties doesn`t work. Any ideas?
finchou
12-01-2005, 09:52 AM
_level0.yourTextField.text=people[i];
if you want it to follow the value of the array element you have to put a movieclip somewhere with that on it :
onClipEvent(enterFrame){
_level0.yourTextField.text=people[i];
}
mparmpedas
12-01-2005, 09:53 AM
thx finchou
|
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.