I get Index out of bounds when trying to readObject on my Byte array into the XML object.
private var fr:FileReference;
private var data:ByteArray = new ByteArray();
[Bindable]
private var dataXML:XML = new XML();
...
public function onLoadComplete(e:Event):void
{
trace("Load Complete");
data = fr.data;
dataXML = data.readObject();
}
The Byte array is created by loading a file using FileReference