# Flash 8: load mysql in textfield not components

**URL:** <https://forum.kirupa.com/t/flash-8-load-mysql-in-textfield-not-components/179215>\
**Category:** Uncategorized\
**Created:** [February 17, 2006, 6:21pm UTC](https://forum.kirupa.com/t/flash-8-load-mysql-in-textfield-not-components/179215 "2006-02-17T18:21:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tristessa](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@tristessa](https://forum.kirupa.com/u/tristessa)\
**Post date:** [February 17, 2006, 6:21pm UTC](https://forum.kirupa.com/t/flash-8-load-mysql-in-textfield-not-components/179215/1 "2006-02-17T18:21:44Z")

</div>

hello there,

i just managed to do the gotoandlearn tutorial for getting data into flash  
very impressive!

but it uses componets called the list.

can someone help me with how to get it into a textfield instance?

ty!

```auto

var theXML:XML = new XML();
theXML.ignoreWhite = true;

theXML.onLoad = function() {
    var nodes = this.firstChild.childNodes;
    for(i=0;i<nodes.length;i++) {
        theList.addItem(nodes*.firstChild.nodeValue,i);
                }
}

theXML.load("http://thesite.com/lalalaa");

```
