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

大约有 270 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)

31. 加载lh格式模型报错 [ 78%]

...file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.d3.js:30899:17)   at EventHandler.runWith (file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.core.js:999:38)   at Loader.event (file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.core.js:1038:42)   at Loader.complete (file:///D:/LayaAirPro...

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

32. websocket出错 [ 78%]

...                 output=socket.output;         socket.on(Laya.Event.OPEN,this,onSocketOpen);         socket.on(Laya.Event.CLOSE,this,onSocketClose);         socket.on(Laya.Event.MESSAGE,this,onMessageRev);         socket.on(Laya.Event.ERROR,this,onConnectError); 在 socket....

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

33. [Error] TypeError: null is not an object (evaluating 'this._style._tf') [ 78%]

....js:10293) fitDOMElementInArea (laya.core.js:10340) run (laya.core.js:710) event (laya.core.js:494) setScreenSize (laya.core.js:18495) _changeCanvasSize (laya.core.js:18371) run (laya.core.js:9832) _update (laya.core.js:9576) render (laya.core.js:18561) _loop (laya.core.js:18519) loop (laya.core.js:...

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

34. this.btClose1.on(Laya.Event.CLICK,null,this.close);报错 [ 78%]

this.btClose1.on(Laya.Event.CLICK,null,this.close);报错 this.btClose1.on(Laya.Event.CLICK,null,this.close); 这句代码报错  附件 : --> 2017-06-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueyin...

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

35. js飞机大战报错 请大神看看 [ 77%]

...按钮点击事件 点击后暂停游戏         this.pauseBtn.on(Laya.Event.CLICK, this, this.onPauseBtnClick);         // 初始化UI 显示         this.reset();     } ...     "Cannot read property 'on' of undefined" "TypeError: Cannot read property 'on' of undefined     at new ...

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

36. 调试时报错Error processing "evaluate": TypeError: Cannot read property 'api' of undefined [ 77%]

...\node_modules\vscode-debugadapter\lib\protocol.js:24:60)     at emitOne (events.js:96:13)     at Socket.emit (events.js:188:7)     at readableAddChunk (_stream_readable.js:176:18) 2017-03-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

37. 为什么mc取得的时候有时候mc.getBounds().width;有值有时候是0 [ 76%]

...什么mc取得的时候有时候mc.getBounds().width;有值有时候是0 Event.LOADED事件后输出宽度有时候还是0有时候却有值。这个是为什么呢?已经是在loaded事件以后的输出了。 附件 : --> 2016-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

38. 报错:LayaAir not allow import flash.events.EventDispatcher? [ 76%]

报错:LayaAir not allow import flash.events.EventDispatcher? 2016-12-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 可以用!除了SDK下的顶级报和数据类型外,其他...

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

39. LayaFlash针对资源的加载是同步还是异步? [ 75%]

...fash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; import flash.net.URLRequest; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { ...

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

40. ani动画问题,cannot read property '_tf' of null [ 75%]

... this.ani1.play(0, false);//出错了             this.ani1.on(Laya.Event.COMPLETE, this, () => {                 this.removeSelf();             });         } 这样播放动画有时候会报错,如附件图,但有时候又不报错 附件 : --> 2017-06-14 添加评...

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