大约有 40 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
... } }) loadTask.onProgressUpdate(res => { console.log('下载进度', res.progress) console.log('已经下载的数据长度', res.totalBytesWritten) console.log('预...
来源: Laya_社区 发布时间: 20190514
...nts.HTTPStatusEvent; import flash.events.IOErrorEvent; import flash.events.ProgressEvent; import flash.events.SecurityErrorEvent; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.URLRequest; import flash.net.URLRequestMethod; import flash.net.URLVariables; public cl...
来源: Laya_社区 发布时间: 20151217
...g = played[static] 定义 played 事件对象的 type 属性值。Event PROGRESS : String = progress[static] 定义 progress 事件对象的 type 属性值。Event READY : String = ready[static] 定义 loaded 事件对象的 type 属性值。Event RELEASED : String = released[static] 定义...
来源: Laya2.0_api 发布时间: 20190513
...g = played[static] 定义 played 事件对象的 type 属性值。Event PROGRESS : String = progress[static] 定义 progress 事件对象的 type 属性值。Event RECOVERED : String = recovered[static] 定义 recovered 事件对象的 type 属性值。Event RELEASED : String = released[sta...
来源: laya_api 发布时间: 20170929
...ew Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传输失...
来源: Laya_社区 发布时间: 20180315
...533", } alert(JSON.stringify(data)); hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); var headers = []; headers.push("Content-Type"); headers.push("application/json"); h...
来源: Laya_社区 发布时间: 20170620
...ing = played[static] 定义 played 事件对象的 type 属性值。Event PROGRESS : String = progress[static] 定义 progress 事件对象的 type 属性值。Event READY : String = ready[static] 定义 loaded 事件对象的 type 属性值。Event RELEASED : String = released[static] 定义 rel...
来源: Laya2.0_api 发布时间: 20190513
...ing = played[static] 定义 played 事件对象的 type 属性值。Event PROGRESS : String = progress[static] 定义 progress 事件对象的 type 属性值。Event RECOVERED : String = recovered[static] 定义 recovered 事件对象的 type 属性值。Event RELEASED : String = released[static]...
来源: laya_api 发布时间: 20170929
...l. ### 事件 基本的事件大致有如下几种: - `onloadstart` - `onprogress` - `onabort` - `ontimeout` - `onerror` - `onload` - `onloadend` 我们常用的基本就是进度事件,完成事件,错误事件等 每一个`XMLHttpRequest`里面都有一个`upload`属性,而`upload`是一...
来源: Laya2.0_文档 发布时间: 20210714
...l. ### 事件 基本的事件大致有如下几种: - `onloadstart` - `onprogress` - `onabort` - `ontimeout` - `onerror` - `onload` - `onloadend` 我们常用的基本就是进度事件,完成事件,错误事件等 每一个`XMLHttpRequest`里面都有一个`upload`属性,而`upload`是一...
来源: Laya2.0_文档 发布时间: 20210715