Problems loading external text, using IPad, at html5-export

Bug #1005793 reported by pauLE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jeash
New
Low
Unassigned

Bug Description

I use the following function to load an external XML:

private function loadXML(file:String) {
var urlLoader:URLLoader = new URLLoader();
urlLoader.addEventListener(Event.COMPLETE, DoSomeThing);
var request:URLRequest = new URLRequest(file);
request.method = URLRequestMethod.GET;
urlLoader.load(request);
}
This works on windows(HTML5+flash)
But i had problems with the HTML5-Website on the IPad(tested with Ipad1 and 3).
In the exported js i found the jeash.net.URLLoader
the time bevore the newest update(nme [3.3.2]) it returns the content,that is loaded, with xmlHttpRequest.responseText. Now it returns xmlHttpRequest.response but this is at the IPAD null..so maybe the code should be like this:

this.getData = function() {
return xmlHttpRequest.response ? xmlHttpRequest.response : xmlHttpRequest.responseText;
};
this works for me on all tested plattforms

Changed in jeash:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.