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

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

311. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 53%]

...s.d.ts", "node_modules/@types/node/domain.d.ts", "node_modules/@types/node/events.d.ts", "node_modules/@types/node/fs.d.ts", "node_modules/@types/node/http.d.ts", "node_modules/@types/node/http2.d.ts", "node_modules/@types/node/https.d.ts", "node_modules/@types/node/module.d.ts", "node_modules/@type...

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

312. 有时候加载一大堆资源的时候某个个别图片资源加载失败如何处理 [ 52%]

...    * <p>加载资源。资源加载错误时,本对象会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。</p>          * <p>因为返回值为 LoaderManager 对象本身,所以可以使用如下语法:Laya.loader.load(...).load(...);...

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

313. 关于图集和配置文件(json || atlas)的问题 [ 52%]

...采用showAll后留白部分的颜色问题 关于主程序过大的问题 event自定义事件的问题 问题状态 最新活动: 2018-06-26 17:55 浏览: 3193 关注: 3 人 asdf131 • 2018-06-26 17:37 问题2呢,不可以打包成一个文件来减少io吗,是考虑哪方面的原因 Laya_Aaro...

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

314. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 52%]

... at GamePagePlayer.Utils.fitDOMElementInArea (laya.core.js:10340)     at EventHandler.__proto.run (laya.core.js:710)     at Stage.__proto.event (laya.core.js:499)     at Stage.__proto.setScreenSize (laya.core.js:18495) 2018-10-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

315. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 52%]

...MLHttpRequest`和`XMLHttpRequestUpload`都继承了同一个`XMLHttpRequestEventTarget`接口所以upload也具有上述事件。 ​ ## 在laya中怎么使用 laya中用HttpRequest对XMLHttpRequest进行了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我...

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

316. HttpRequest详解(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 52%]

...MLHttpRequest`和`XMLHttpRequestUpload`都继承了同一个`XMLHttpRequestEventTarget`接口所以upload也具有上述事件。 ​ ## 在laya中怎么使用 laya中用HttpRequest对XMLHttpRequest进行了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我...

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

317. Cannot read property 'call' of undefined [ 52%]

...ers/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27)    at EventHandler.__proto.runWith (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:724:59)    at Button.__proto.event (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:499:3...

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

318. 解决跨域相关! [ 52%]

...连不上, 看代码-> this.hr=new HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.send("http://www.baidu.com", null, '...

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

319. Cannot read property 'call' of undefined [ 52%]

...ers/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27)    at EventHandler.__proto.runWith (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:724:59)    at Button.__proto.event (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:499:3...

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

320. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...platform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } new LayaUISample; 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候...

来源: Laya3.0_文档 发布时间: 20251010