# Action Script and XML Help Needed

**URL:** <https://forum.kirupa.com/t/action-script-and-xml-help-needed/233544>\
**Category:** flash\
**Created:** [July 24, 2007, 8:51pm UTC](https://forum.kirupa.com/t/action-script-and-xml-help-needed/233544 "2007-07-24T20:51:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shurleyn0va](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@shurleyn0va](https://forum.kirupa.com/u/shurleyn0va)\
**Post date:** [July 24, 2007, 8:51pm UTC](https://forum.kirupa.com/t/action-script-and-xml-help-needed/233544/1 "2007-07-24T20:51:51Z")

</div>

OK I have been going down one road for this and have taken a few wrong turns.

A few things about what we are looking at:  
I am using Flash CS3 but I am using Action Script 1.0/2.0 for compatability purposes.

What I have been able to do so far is create random instances of a movie clip to appear over a set amount of time but I need to go a bit further. The web application needs to be updated regularly and the best way I can think of doing that is with keeping all the variables in an XML. The problem is I am not sure how to format the XML properly to get Flash to read it and load the variables.

I am creating an online version of a vision screening tool we use. The test is graphically simple just a collection of a few primitives on a dark background. There are basically two objects a fixation point and a stimulus. What I need to be able to do is this.

Display either movieclip at (x,y) for (z)ms where x,y,& z are all variables loaded from an xml. I have asked questions along this line before but this is a different scope in case anyone wants to claim I double posted, this is quite different than they way I was doing it before.

Any help with the XML or even any actionscript suggestions would be greatly appreciated.

Thanks
