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

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

321. 这个怎么办 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

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

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

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

323. Cannot read property 'call' of undefined [ 51%]

...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

324. 解决跨域相关! [ 51%]

...连不上, 看代码-> 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

325. Cannot read property 'call' of undefined [ 51%]

...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

326. 和原生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

327. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 50%]

...is, onLoading, null, false)); // 侦听加载失败     Laya.loader.on(Event.ERROR, this, onError);     this.moveover =true;     function onAssetLoaded(texture)     {         console.log("加载结束");         pic="res/castlebeyond.jpg";         this.bgimg =...

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

328. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 49%]

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

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

329. 音频解码一直遇到这个问题呢,不知道什么原因 [ 49%]

... 写了个边缘光的自定义shader,有很多问题,帮忙看一下 event自定义事件的问题 Panel中的东西左右拖动好象有问题 laya1.7.9beta版 问题状态 最新活动: 2018-05-31 10:42 浏览: 634 关注: 2 人 smile • 2018-05-31 11:01 我wav和mp3格式都试了,播放...

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

330. laya.device.media.Video [ 48%]

... All Classes | Index | Frames No Frames VideoProperties | Methods | Events Packagelaya.device.mediaClasspublic class VideoInheritanceVideo Sprite Node EventDispatcher Object Video将视频显示到Canvas上。Video可能不会在所有浏览器有效。 关于Video支持的所有事件参见...

来源: laya_api 发布时间: 20170929