This content has been marked as final. Show 4 replies
It depends on what you want to put in the text box but an array is certainly an option.
There are also some problems with your loop - primarily in that you never update nameVar so you end up doing only one thing ten times
with an array
They both worked great, thanks. I will use the Array, it seems to be closer to what I want, I do have a question about the Array. I will be pulling the data to fill the array from a php file from a database.
once I get that data into flash how can I use the array to display that info. in other words how do I change:
mytext = ["now", "is", "the", "time", "for", "all", "good", "men", "to", "come", "to", "the", "aid", "of", "their", "country"];
mytext = ["This", "Info", "is", "from", "the", "database"];
I think I figured it out, but maybe you have a better way. This page will be displaying a team roster
name 1 Position1 Status1
name 2 Position2 Status2
name 3 Position3 Status3
name 4 Position4 Status4
The info will come from a database and I need to create an array that loops
do I just put the var name in the array instead of the string