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

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

161. playByFrame动画监听问题,真不会了。就一个小问题。监听不到动画结束。。。 [ 82%]

...HitAllInfo.length;这个已经获取到了。射线获取的 //是不是我Event.COMPLETE写错了?应该怎么用求教啊。。。。。 Laya.stage.on(Laya.Event.CLICK, this, function () {                 for (var i = 0; i < _outHitAllInfo.length; i++) {                     ...

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

162. 发布微信后无法触发mouse_up事件 [ 82%]

...** 初始化资源加载完成 */ private initF():void{ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseHandler); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseHandler); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseHandler); } private mouseHandler(e:laya.events.Event):void { var to...

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

163. sound manager在MOUSE_OVER事件中无法播放 [ 82%]

...Stage = Laya.Stage;     import Text = Laya.Text;     import Event = Laya.Event;     import SoundManager = Laya.SoundManager;     import Browser = Laya.Browser;     import Handler = Laya.Handler;     import WebGL = Laya.WebGL;      export class Sound...

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

164. video.on('complete', this, onPlayEnd);视频播完为何不触发“complete”? [ 82%]

...ayEnd);视频播完为何不触发“complete”? function onPlayEnd(evt:Event){ trace("video complete"); } 为何视频播完不触发呢? http://layaair.ldc.layabox.com ... Video 这里要是可以调试该多好~ 2017-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

165. 骨骼动画进阶(JavaScript-2D进阶篇(JS)-动画进阶) [ 82%]

...a.WebGL); //创建动画模板 templet=new Laya.Templet(); templet.on(Laya.Event.COMPLETE,this,parseComplete); templet.on(Laya.Event.ERROR,this,onError); //加载动画文件 templet.loadAni("res/spine/goblins/goblins.sk"); function onError() { console.log("parse error"); } function parseComplete() ...

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

166. laya.events.EventDispatcher [ 81%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames EventDispatcherMethods Packagelaya.eventsClasspublic class EventDispatcherInheritanceEventDispatcher ObjectSubclasses Accelerator, AnimationPlayer, AnimationTransform3D, BaseRender, Component3D, GeometryFilter, Gyroscope, Ht...

来源: laya_api 发布时间: 20170929

167. Uncaught TypeError: Cannot read property 'XXX' of undefined [ 81%]

...rawRect(0, 0, 515, 515, "#996633", "#333333");             spe.on(Event.MOUSE_DOWN, spe, onMouseDown);             Laya.stage.on(Event.MOUSE_UP, this, onMouseUp);             Laya.stage.on(Event.MOUSE_OUT, this, onMouseUp);   } private function onMouseDown(e:Event):void {...

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

168. 节点的visible在初始化的时候生效,但是在Event的方法里面不生效 为什么呢? [ 81%]

节点的visible在初始化的时候生效,但是在Event的方法里面不生效 为什么呢? 2017-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 不清楚你的具体操作...

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

169. 关于mouseover的问题 [ 81%]

...  sp.graphics.drawRect(0,0,100,100,"#ff0000");             sp.on(Event.MOUSE_OVER,this,onMouse);             sp.on(Event.MOUSE_OUT,this,onMouse);             Laya.stage.addChild(sp);             Stat.show();         }                  private fu...

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

170. 为什么说没有​ playByFrame方法 [ 81%]

...name=='anifish'){ anifish.player.playByFrame(0,1.0,0,40,72,30); anifish.on(Event.COMPLETE,this,complete) function complete(){ alert(1) } Monica • 2017-09-27 14:22 @haiboannacom:Event前边加个Laya.看看 haiboannacom • 2017-09-27 14:25 @Monica:第三条鱼我加了这个了。也不行。anifi...

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