# From mysql to xml works, but how to flash?

**URL:** https://forum.kirupa.com/t/from-mysql-to-xml-works-but-how-to-flash/44692
**Category:** Uncategorized
**Created:** [March 6, 2004, 4:24pm UTC](https://forum.kirupa.com/t/from-mysql-to-xml-works-but-how-to-flash/44692 "2004-03-06T16:24:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hga77](https://avatars.discourse-cdn.com/v4/letter/h/4bbf92/32.png) [@hga77](https://forum.kirupa.com/u/hga77)
#### Post date: [March 6, 2004, 4:24pm UTC](https://forum.kirupa.com/t/from-mysql-to-xml-works-but-how-to-flash/44692/1 "2004-03-06T16:24:48Z")

</div>

ok so now im opening the data from mysql and making it into xml using php. I used vash’s tutorial (Jubba). That works nicely now.

So now that i have the data as xml, how do I get it to load into flash (mx)?

I search too…no luck…

thanks

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 13, 2004, 6:47pm UTC](https://forum.kirupa.com/t/from-mysql-to-xml-works-but-how-to-flash/44692/2 "2004-03-13T18:47:44Z")

</div>

Vash, thanks for all you help on hga77’s question. I have one more question to add on this topic if possible. I followed your above code exactly and I get the correct trace output. However, now I am trying to use that output in a tree component with Flash MX 2004. Basically I’ve simply added the following code within the success event of the importXML.onLoad function:  
treeinstancename.dataProvider=importXML;

However, the tree component ends up populated with a bunch of undefined nodes. If i simply use a static XML page it works fine. It simply doesn’t seem to be able to handle the php file. Any thoughts? Thanks
