jacksun
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by jacksun
-
-
I met a problem when deploy my SWF on Android. The problem is that XMLLoader is not able to load local xml file on sdcard.
var path:String = 'file:///sdcard/test/'; queue.append( new ImageLoader(path + "sample.jpg", {name:"photo", container:this, width:250, height:150}) ); // WORKS queue.append( new XMLLoader(path + "sample.xml", { name:"xmlDoc" } ) ); // NOT WORKING !!! queue.append( new DataLoader(path + "sample.txt", { name:"txtDoc" } ) ); // NOT WORKING !!!
There are no problem if It's loading files from a remote server by changing the path as below.
var path:String = 'http://www.example.com/test/';
Can anyone help?
XMLLoader problem on Android
in Loading (Flash)
Posted
OK, problem is resolved.
The answer is to set UseNetworkServices to false.
http://stackoverflow.com/questions/2692 ... es-for-fdt