I have an XML file that I lives in the applicationStorageDirectory, I need to load the contents into an ArrayCollection.
The XML looks like (see below), I can read and write to it but I need to stick the data in an ArrayCollection so I can load it into a datagrid.
<?xml version="1.0" encoding="utf-8"?>
<item>
<sort>2012/10/31PM0000</sort>
<date>Wed Oct 31 2012</date>
<event>Halloween</event>
<time>12:00 PM</time>
</item>
<item>
<sort>2012/09/13AM0000</sort>
<date>Thu Sep 13 2012</date>
<event>Enter Details</event>
<time>12:00 AM</time>
</item>
I've found I can use url="app-storage:/reminder.xml" in HTTP service and it works with Air, dunno about an android app, will have to wait and see.
<s:HTTPService id="reminderXML" url="app-storage:/reminder.xml" result="reminderDataHandler(event)" fault="faultHandler(event);"/>