大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0073 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...来放置到项目的src目录下。 参考:private function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onCom); loader.load(new URLReques...
来源: Laya_社区 发布时间: 20151216
...碰撞体a和b,a为运动学刚体,b为静态刚体,二者均有Laya.Event.TRIGGER_ENTER 和 Laya.Event.TRIGGER_EXIT 的监听,通过修改a的position使其与b进行接触,以实现触发触发器监听,在3.2.2中时是可以触发的,在3.3.0.beta.1中不可以。 附件 : --> ...
来源: Laya_社区 发布时间: 20250121
...,图片没变,好像没有更新. //事件回调---collisionStart Matter.Events.on(engine, 'collisionStart', function(event) { var pairs = event.pairs; // change object colours to show those ending a collision for (var i = 0; i < pairs.length; i++) { var pair = pairs[i]; pair.bodyA.render.fillS...
来源: Laya_社区 发布时间: 20171024
...le.log("connect...."); this.hr = new Laya.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://tdev.sanguoh5.com:800...
来源: Laya_社区 发布时间: 20201023
...asses | Index | Frames No Frames DialogManagerProperties | Methods | Events Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意...
来源: laya_api 发布时间: 20170929
...= Laya.stage.height / 2; ufo.play("ludo_ufo_kaishi", false); ufo.once(Laya.Event.STOPPED, this, () => { ufo.play("ludo_ufo_feixing", true); }); ufo.on(Laya.Event.LABEL, this, (e) => { if (e.name == "xiaoshi") { ufo.offAllCaller(this); // ufo.removeSelf(); } }); })); } genSpine(url, hand...
来源: Laya_社区 发布时间: 20220530
...4 是的,如果play的第二个参数是true,监听mArmature.player.on(Event.COMPLETE,this,onComplete);即可 如果play的第二个参数是false,监听mArmature.on(Event.STOPPED, this, completeHandler);即可! 2017-08-07 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: sketon.pla...
来源: Laya_社区 发布时间: 20170802
... } } event(Event.CHANGE); } 2017-06-01 0 0 分享 微博 QZONE 微信 a13121527420 - 哇啦哇啦哇啦! 赞同来自: 其实最完美的就是可以布局,然后还可以在前后加描述问题, 例如: 123...
来源: Laya_社区 发布时间: 20170601
...E1.7.8 json图集加载问题 关于removechild、destory、clear的问题 event自定义事件的问题 关于主程序过大的问题 问题状态 最新活动: 2017-10-11 17:21 浏览: 775 关注: 3 人 Zzz18815519 • 2017-10-11 19:27 那动画播放结束的事件怎么定义? Zzz18815519 •...
来源: Laya_社区 发布时间: 20171011
... list.mouseHandler=new Handler(this,onClick); } private function onClick(e:Event,index:int):void { if(e.type==Event.CLICK) { trace("xy:"+list.getCell(index).x,list.getCell(index).y); } }上面的坐标是相对于list本身的,如果你想取得全局坐标可以通过localToGlobal方法来得到...
来源: Laya_社区 发布时间: 20161215