# XML loaded dynamic textFields length of stage

**URL:** <https://forum.kirupa.com/t/xml-loaded-dynamic-textfields-length-of-stage/287369>\
**Category:** flash\
**Created:** [April 29, 2009, 10:51pm UTC](https://forum.kirupa.com/t/xml-loaded-dynamic-textfields-length-of-stage/287369 "2009-04-29T22:51:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![split67](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/split67/32/2089_2.png) [@split67](https://forum.kirupa.com/u/split67)\
**Post date:** [April 29, 2009, 10:51pm UTC](https://forum.kirupa.com/t/xml-loaded-dynamic-textfields-length-of-stage/287369/1 "2009-04-29T22:51:16Z")

</div>

Been working on this for a couple weeks now. Am trying to create a scrolling sidebar(top to bottom). Within this sidebar, dynamic _textFields_ are being created and populated with XML. The XML is of “[COLOR=Blue]Sporting Events[/COLOR]”. Within each “[COLOR=Blue]Sporting Event[/COLOR]” 3 variables exist, Name, Location & Date. What I’ve got, is AS loading the XML and populating ONE “[COLOR=Blue]Sporting Event[/COLOR]” (3 _textFields_ with name, location & date). I have to specify the position on stage of the _textFields_, not very dynamic if i’m to have numerous, but they work.

What has me contemplating jumping off the roof right now, is trying to understand how I’m to create an infinite number of _textFields_ (only room for 10 “[COLOR=Blue]Sporting Events[/COLOR]” (30 total _textFields_) on stage at a time), and have them continuously load the XML with different “[COLOR=Blue]Sporting Events[/COLOR]”. As they scroll off the stage, either they unload, remove, die or however’s best.

I’ve tried creating an array and inserting the _textFields_ into it, then running it through a for loop to load the XML. I can’t get it to work properly, because I don’t understand how to create infinite _textFields_, increment the XML and load it to the next available _textField_.

\*\*can submit code for anyone willing to point me in the right direction…  
\*\*
