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

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

2371. TypeError: Cannot read property 'GetType' of null [ 49%]

...错TypeError: texture.getIsReady is not a function Cannot read property 'events' of undefined 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor Uncaught TypeError: GlowFilter is not a constructor 问题状态 最新活动: 2019-04-21 09:11 浏览: 2358 关注: 3 人 ippon • ...

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

2372. 预加载进入游戏界面 [ 49%]

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

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

2373. list组件改变位置后在改变数据源的长度,会导致index超过数据源长度 [ 49%]

...享 微博 QZONE 微信 Laya_Aaron 赞同来自: private onClick(e: Laya.Event) {     this._data = [1];   this.list.array = this._data; this.list.y = 220; this.list.height = 300;   }   代码这么写就好了 2019-09-19 0 1 分享 微博 QZONE 微信 Laya新用户 赞同来自: 这2行换位...

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

2374. 加载sk文件时,报Uncaught getUint16 error - Out of bounds [ 49%]

... yyqx1122 • 2018-03-28 10:33 var roleTemp = new Templet(); roleTemp.on(Event.COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effec...

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

2375. laya.display.Scene [ 49%]

... All Classes | Index | Frames No Frames SceneProperties | Methods | Events Packagelaya.displayClasspublic class SceneInheritanceScene Sprite Node EventDispatcher Object 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回...

来源: Laya2.0_api 发布时间: 20190513

2376. List数据源的格式问题导致无法响应List的SelectHandler [ 49%]

...g; public var Color:int; }3、Data的相关代码public class Data extends EventDispatcher { public function Data() { } protected function dataSourceChange(eventType:String, property:String, value:Object):void { var data:* = this[property]; this[property] = value; if (value != data) { var result:Boo...

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

2377. session获取不到 [ 49%]

...ow---cant find variable: window stack tree mouseHandler 怎么获取条目 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2017-03-21 14:34 浏览: 1646 关注: 3 人 vincent • 2017-03-17 16:14 恩恩,有答案了告诉我下,急,因为要检验这...

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

2378. "Background is not defined"怎么会没定义呢???求救 [ 49%]

...efined dialog 自定义关闭效果,效果执行完,弹窗无法关闭 event自定义事件的问题 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 写了个边缘光的自定义shader,有很多问题,帮忙看一下 元素定义显示区域? 我想动态改自...

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

2379. image.drawToCanvas方法获取的一直是空的png [ 49%]

...ya.stage.addChild(img); Laya.timer.once(500,this,onClick); //Laya.stage.on(Event.CLICK,this,onClick); } private function onClick():void { var htmlCanvas:HTMLCanvas=img.drawToCanvas(100,100,0,0) as HTMLCanvas; var texture:Texture=new Texture(htmlCanvas); var sp:Sprite=new Sprite(); sp.graphics.drawTe...

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

2380. TypeScript下HttpRequest发送Post请求有Bug? [ 49%]

...人破 我也native 中招了 2019-05-13 0 0 分享 微博 QZONE 微信 S_eVent 赞同来自: LayaNative2.7版本,有时候POST发送的数据也会遇到全部收不到反馈数据的情况 2020-08-10 0 0 分享 微博 QZONE 微信 1607049903用户 赞同来自: 现在这个问题解决了没? Na...

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