• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 708 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0065 秒)

341. 安装layaair2-cmd一直失败 [ 53%]

...blem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-02-11T10_54_16_317Z-debug.l og     2020-02-11T10_54_16_317Z-debug.log   31916 info lifecycle jpeg-recomp...

来源: Laya_社区 发布时间: 20200211

342. Laya.MovieClip() new的时候崩溃了,在线等,很急!!!! [ 53%]

...lay(0,false); this.swfAni.visible = true; this.swfAni.on(laya.events.Event.COMPLETE, this, this.onSWFPlayComplete,[state]); return this.swfAni; } 2017-05-05 5 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zuojianfei...

来源: Laya_社区 发布时间: 20170505

343. 如何能监听到TouchStart和TouchEnd事件 [ 53%]

...性值。*/         static ERROR: string;         /** 定义 complete 事件对象的 type 属性值。*/         static COMPLETE: string;         /** 定义 loaded 事件对象的 type 属性值。*/         static LOADED: string;         /** 定义 progres...

来源: Laya_社区 发布时间: 20170601

344. l龙骨动画内存上升 [ 53%]

...;             tem.loadAni(url);             tem.on(Event.COMPLETE, this, function():void {                 longgu = tem.buildArmature(0);                 longgu.pos(dragronX, dragronY);                 parent.addChild(longgu);            ...

来源: Laya_社区 发布时间: 20170406

345. 3D模型无法用Tween类吗 [ 53%]

...a.Ease.elasticOut,Laya.Handler.create(this, function(){     console.log("complete"); }),ConstValue.animationDelay);   无法直接设置原因是浅拷贝变量无法同步到原对象中去   2018-01-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...

来源: Laya_社区 发布时间: 20180112

346. 求解关于跨域的具体操作 [ 53%]

...r('Content-Type','application/x-www-form-urlencoded'); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, loader]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); console.log("-----------------send------------------", url); xhr.send(url, "", "get", "arraybuffer"); 2018-07-04 添...

来源: Laya_社区 发布时间: 20180704

347. HttpRequest在网页上和APP上表现不一致 [ 53%]

...ion(){console.log("http timeout test: timeout")};     hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http timeout test: success");});     hr.once(Laya.Event.ERROR, this, (e: any)=>{console.log("http timeout test: error " + e.toString());});     console.log("http timeout test: start...

来源: Laya_社区 发布时间: 20171016

348. XMLRequest在layaNative下请求崩溃,请求官方协助! [ 53%]

...       let hr = new Laya.HttpRequest();         hr.once(Laya.Event.COMPLETE, this, (e: any): void => {             callback(JSON.parse(hr.data));         });       hr.send(url, JSON.stringify(data), 'post', 'text', ['content-type', 'application/json;charset=UTF-8', "sessionid"...

来源: Laya_社区 发布时间: 20190829

349. request failed status:0 text: IOS HttpRequest [ 52%]

...est(); 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"); hr.send('http://xxxxxxxxxxxxxxxxxx', JSON.stringify(dat...

来源: Laya_社区 发布时间: 20170620

350. 如何过滤拥有相同name的节点对象? [ 52%]

...池的使用方法是不是先new一个类然后在存到对象池 tween complete 报错 以及如何判断对象正在缓动中 创建对象时使用wx报错 Laya3D项目,LayaPlayer环境下如何通过精灵创建贴图对象,从而赋给材质? 获取sprite对象的 width和height为0 问...

来源: Laya_社区 发布时间: 20160919