大约有 270 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya_社区(197) Laya2.0_文档(22) Laya3.0_文档(15) Laya3.0_api(12) Laya2.0_api(10) laya_api(6) Laya_示例(4) Laya2.0_示例(4)
...值。*/ static LOADED: string; /** 定义 progress 事件对象的 type 属性值。*/ static PROGRESS: string; /** 定义 input 事件对象的 type 属性值。*/ static INPUT: string; /** 定义 render 事...
来源: Laya_社区 发布时间: 20170601
...cen/Conventional/newScen.ls", ]; //设置progress Handler的第4个参数为true,根据加载文件个数获取加载进度 Laya.loader.create(res,null,Laya.Handler.create(this,this.onProgress,null,false)); 2020-11-30 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20201130
... 预编译,需要怎么处理? Laya.Handler.create 回调 load方法的progress回调进的次数太少了。是我哪里设置有问题么 官方技术文档里:微信小游戏进阶处理,AS3,TS,JS并不相同,请问关于AS3的wxlocal白名单文件适用于JS和TS吗 关于UI子界面...
来源: Laya_社区 发布时间: 20171103
...回调 timeline 类能否给每个动作节点添加一个 complete 或者progress 回调? 目前看来只支持所有动作节点执行完毕后complete 回调。 日常开发中给每个小动作节点添加回调时很常见的, 在使用cocos-js的时候就经常用到。 能不能改造ti...
来源: Laya_社区 发布时间: 20180718
...amp; callBack.runWith([1, data]); }}); //获取加载进度 downloadTask.onProgressUpdate(function(data:Object):void { callBack != null && callBack.runWith([2, data.progress]); }); } 2018-09-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180924
...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
... hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send(NameJosn, nu...
来源: Laya_社区 发布时间: 20160626
...hr.once(Laya.Event.ERROR, this, this.ErrorHandler); this.xhr.on(Laya.Event.PROGRESS, this, this.ProgressHandler); this.xhr.send(Global.WebHost+this.currentRequest.url, this.currentRequest.data, "post", "text", ["Access-Control-Allow-Origin","*", "Access-Control-Allow-Headers","X-Requested-With", "Ac...
来源: Laya_社区 发布时间: 20200629
...度?我想让模型在50%透明和100%不透明之间切换 load方法的progress回调进的次数太少了。是我哪里设置有问题么 如何设置显示对象的颜色 问题状态 最新活动: 2017-04-26 17:37 浏览: 1079 关注: 2 人 sfsmmc • 2017-04-27 09:09 Demo上传了,不要...
来源: Laya_社区 发布时间: 20170426
... 检查是否正在下载,避免网页reload this.event("progress",0); var type=this._type; if (type=="plfb"){ this.parsePLFBData(data); this.complete(data); }else if (type=="plf"){ ...
来源: Laya_社区 发布时间: 20200427