Jump to content
Search Community

jacksun

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by jacksun

  1. 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?

×
×
  • Create New...