View Full Version : Populating array during authoring from XML file

11-15-2006, 02:46 AM
Hi there,
I was wondering if it is possible to extend the Flash authoring environment with a command that allows a user to populate or refresh an array object with data from an XML file? Once the array is populated it is being used in the flash application. This populating of the array would only happen intermittenly (everytime the external xml file was updated) during authoring only.

If it can be done could you provide me with some help on how to tackle this?
Thanks in advance,

11-17-2006, 08:12 AM
It can be done.

With JSFL, I went ahead and parsed the XML nodes from the XML file to extract the data and then created an ActionScript file with code that creates an array with the extracted data.

I am surprised that there is no XML parsing functionality available and just the plain old FLfile.read() and write() functions...