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

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

221. 我想在动画播放结束后加一个事件,怎么加? [ 67%]

... 个回复 176*****233 赞同来自: geo 监听_ani的完成事件 _ani.on(EVENT.COMPLETE, this, function(){}); 2018-04-28 1 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 谢谢! 2018-05-02 0 0 分享 微博 QZONE 微信 AlexNine 赞同来自: 可以直接在play后面加个回调 function...

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

222. button响应鼠标事件有两种方式,哪个更好用些? [ 67%]

...好用些? 一个是mouseHandler 一个是监听事件的button.on(Laya.Event.MOUSE_UP)   推荐用哪一种? 用button.on的方式是不是窗口关闭了我要手动移除事件? 2016-10-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

223. 为何对sp的监听事件没有反应呢? [ 67%]

...Laya.stage.height - xxx.height) / 2; Laya.stage.addChild(xxx); xxx.on(Laya.Event.CLICK, this, this.onXXX); private onXXX() {    console.debug("Hello"); } 2017-06-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

224. Unexpected number 问题 [ 67%]

...图集加载问题 关于适配采用showAll后留白部分的颜色问题 event自定义事件的问题 Panel中的东西左右拖动好象有问题 laya1.7.9beta版 问题状态 最新活动: 2017-01-13 15:35 浏览: 1059 关注: 2 人 cuixueying • 2017-01-13 20:03 你明天联系下小莹,帮...

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

225. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 67%]

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

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

226. Button连续点击触发MOUSE_OUT事件问题 [ 67%]

...============ button width: 155, height: 155 mouse position, x: 374, y: 835 event type: click button width: 155, height: 155 mouse position, x: 374, y: 835 event type: mouseout button width: 155, height: 155 mouse position, x: 374, y: 835 event type: click button width: 155, height: 155 mouse positio...

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

227. 请问如何获取触屏上两个或者更多位置的坐标 [ 67%]

...链接 提交 1 个回复 wudi199553 赞同来自: private onMouseDown(e: Event): void {             var touches: Array<any> = e.touches;             if (touches && touches.length == 2) {                 this.preRadian = Math.atan2(                     tou...

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

228. 图集动画结束回调有延迟 [ 67%]

...画结束回调有延迟 this.ded.addLabel("animOver",9); this.ded.on(Laya.Event.LABEL, this, this.onHitOver);  this.ded.on(Laya.Event.COMPLETE, this, this.onHitOver);  两种方法都会有延迟,不能100%执行 2018-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

229. 无法获取模型上的动画 [ 67%]

...某个元素内 相对于这个元素的坐标 怎么获取对象的坐标 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 如何获取一个3D模型的长宽高? 问题状态 最新活动: 2018-06-22 16:44 浏览: 714 关注: 2 人

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

230. LayaFlash把socket转成webSocket后监听不到connect事件(已解决) [ 67%]

...如下 package {     import flash.display.Sprite;     import flash.events.Event;     import flash.net.Socket;          public class TestWebSocket extends Sprite     {         public var s:Socket;                  public function TestWebSocket()         {  ...

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