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

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

171. 微信开发工具编译报错 [ 71%]

...看看怎么回事? VM168:1 gameThirdScriptError Cannot read property 'events' of undefined TypeError: Cannot read property 'events' of undefined at Function.EventDispatcher.__init$ (http://127.0.0.1:35024/game/code.js:634:29) at http://127.0.0.1:35024/game/code.js:14:71 at Array.forEach (<anon...

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

172. 官方的示例贴上来,怎么没反映啊 [ 71%]

...a.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE, this, completeHandler); xhr.once(Event.ERROR, this, errorHandler); xhr.on(Event.PROGRESS, this, processHandler); xhr.send("https://api.weixin.qq.com/cgi- ... ot%3B, "", "get", "text"); function processHandler(...

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

173. 从网络上下载的BMP图片二进制数据后,如何赋值给 laya.ui.Image [ 71%]

...         var req = new laya.net.HttpRequest();         req.on(laya.events.Event.COMPLETE, this, cb_onSuccess);         req.on(laya.events.Event.ERROR, this, cb_onFail);         req.send(url);      }      // 下载jpg图片成功后,显示在舞台上,response为 bmp图片...

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

174. ide升级到LayaAirIDE_1.7.0_beta 后启动调试器报错 [ 70%]

...g-core\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-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

175. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 70%]

...           Laya.stage.addChild(imag);             imag.on(Event.MOUSE_DOWN,this,onDown);             imag.on(Event.MOUSE_UP,this,onUP);         }                  private function onDown():void{             imag.startDrag();         }    ...

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

176. 错误问题反馈 [ 70%]

...)。可能出现不一致的编译错误 关于apk打包动画卡的问题 event自定义事件的问题 IDE创建的UI 层级问题 问题状态 最新活动: 2018-11-22 15:18 浏览: 1095 关注: 1 人

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

177. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 70%]

...eTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleto...

来源: Laya2.0_文档 发布时间: 20210715

178. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 70%]

...js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler.__proto.runWith (laya.core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at LoaderManager.__proto._endLoad (laya.core.js:14880)     at Loader.onLoaded (laya.core.js:14850)     at EventHand...

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

179. Laya中的宏编译要怎么用啊 [ 70%]

...lash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; 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 { removeEventListener(Event.ADD...

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

180. Oppo加载.ls资源错误 [ 70%]

... 07-11 16:53:45.927 30921-30972/? E/jswrapper: ERROR: Uncaught TypeError: "event.type" should be a string., location: (no filename):0:0 2019-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来...

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