peterz3g Laya.init(1136, 640);var xhr:HttpRequest = new HttpRequest();xhr.http.timeout = 10000;//设置超时时间;xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler);