# Load XML data to Flash with AS2

**URL:** <https://forum.kirupa.com/t/load-xml-data-to-flash-with-as2/325035>\
**Category:** flash\
**Created:** [September 22, 2011, 9:57am UTC](https://forum.kirupa.com/t/load-xml-data-to-flash-with-as2/325035 "2011-09-22T09:57:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niko\_Makaveli](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@Niko\_Makaveli](https://forum.kirupa.com/u/Niko_Makaveli)\
**Post date:** [September 22, 2011, 9:57am UTC](https://forum.kirupa.com/t/load-xml-data-to-flash-with-as2/325035/1 "2011-09-22T09:57:01Z")

</div>

Hello to everybody!

Like many other members I’m new in flash and actionscript ![](http://forum.kirupa.com/uploads/kirupa/6590/ff0e5c5fc4f7c98b.gif) , so I need some help from the pros.

I have a XML file like this:

```auto

<root> <Event TextOne="TextShow1" TextTwo="TextShow2"/> <Event TextOne="TextShow3" TextTwo="TextShow4"/> <Event TextOne="TextShow5" TextTwo="TextShow6"/> </root>

```

All I want is to load the XML data in Flash in two dynamic text fields (TextOne\_mc and TextTwo\_mc) and make the TextOne\_mc to show me first the “TextShow1” then the “TextShow3” etc and the TextTwo\_mc to show me first “TextShow2” then “TextShow4” etc,but when I’m done with it,TextOne\_mc shows me “TextShow5” and TextTwo\_mc shows me “TextShow6” only,so I understand that I’m not done with it correctly and something missing. ![](http://forum.kirupa.com/uploads/kirupa/6348/e5d43d6ec5c00335.gif) .

I hope you understood.Sorry if you don’t understand my explanation.

Thank you!!
