大约有 1,210 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0081 秒)
Laya_社区(903) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(30) laya_api(2) Laya2.0_api(2)
...Index !=value){ this._selectedIndex=value; this.changeSelectStatus(); this.event(/*laya.events.Event.CHANGE*/"change"); this.selectHandler && this.selectHandler.runWith(value); this.startIndex=this._startIndex; //} });
来源: Laya_社区 发布时间: 20190305
分享:Skeleton下Event.LABLE('label')事件的使用 LayaAir下支持龙骨的自定义事件,即动画制作中为关键帧添加的帧事件,这里不再累述,下面看个例子。 Label事件如何设置? 打开Dragonbones(或spine),选择龙骨动画...
来源: Laya_社区 发布时间: 20170406
...Right.bottom+100; } //事件注册 //开始游戏 this.StartLeft.on(Laya.Event.CLICK,null,function(){ //TO GamePage2 console.log("left onclick"); Laya.stage.addChild(new GameView); }); //分享快乐 this.StartRight.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(href); }); //天猫Log...
来源: Laya_社区 发布时间: 20180810
... private init():void { //添加点击事件处理 this.v_btn_boy.on(Laya.Event.CLICK, this, this.onClickBtnBoy); this.v_btn_friend.on(Laya.Event.CLICK, this, this.onClickBtnFriend); this.v_btn_shop.on(Laya.Event.CLICK, this, this.onClickBtnShop); console.log("init main scene"); } //点击羁绊 priv...
来源: Laya_社区 发布时间: 20180312
...不应该会有这个问题才是的 比如说这个代码: this.hr.once(Event.COMPLETE, this, onHrCompleteHandler); this.hr.once(Event.ERROR , this ,onHrErrorHandler); this.hr.send($url, $data, $method, $responseType, $headers); private function onHrCompleteHandler():void { if(this.completeHandle...
来源: Laya_社区 发布时间: 20180528
...片原样宽高显示 1、使用image.skin的方式 package { import laya.events.Event; import laya.ui.Image; import laya.utils.Handler; public class LayaAirDemo { private var image:Image; public function LayaAirDemo() { Laya.init(800,600); Laya.loader.load(["bg.jpg","logo.png"],Handler.create(this,...
来源: Laya_社区 发布时间: 20170628
如何定义动画播放过某帧后的回调函数 Event Object Type: laya.events.Event; Event.type property = Event.LABEL; 如何才能实现第2帧后的回调呢 2016-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20161214
...; if (!data){ this.event(/*laya.events.Event.ERROR*/"error","file not find"); return; } // console.log("this['_atlasPath']---->",this['_atlasPath']); ...
来源: Laya_社区 发布时间: 20180615
...5,150) this._createHorn() this._createBg() this._createView() this.on(Laya.Event.UNDISPLAY,this,this.stop) this.on(Laya.Event.DISPLAY,this,this.play) } /** 创建滚动区域 */ _createView() { this.hornBox = new Box() let _rectangle = new Laya.Rectangle(0,0,this.defaultX,55) this.hornBox.scrollRect...
来源: Laya_社区 发布时间: 20180314
...gle=new Rectangle(-420,-680,420,680); mArmature.hitArea=rect; mArmature.on(Event.CLICK,this,onClick); 2016-11-22 0 0 分享 微博 QZONE 微信 asdf131 赞同来自: 于一个点为中心播放 : this.mArmature = this.mFactory.buildArmature(0); this.mArmatureSpr.addChild(t...
来源: Laya_社区 发布时间: 20161122