actionscript 3 - as3 error #2032 with local xml files -
this appears common problem. still, i've tried every solution has been proposed , still error #2032 when try load xml file.
var loader:urlloader = new urlloader(new urlrequest("/../assets/levels/level_0-1.xml")); //error loader.addeventlistener(ioerrorevent.io_error, onioerror, false, 0, true); loader.addeventlistener(event.complete, loadlevelcomplete, false, 0, true);
the entire folder of project has been marked trusted, i've added -use-network=false compiler arguments, , i'm launching swf in browser. i've been checking path past 2 days, made multiple dummy files different paths. still, #2032. there else should do?
it still local security restriction preventing flash opening file. chrome has strict local testing restrictions.
you can test putting online on test server, or on local server using localhost.
Comments
Post a Comment