大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0114 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...-09-11 0 0 分享 微博 QZONE 微信 youxin 赞同来自: this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a input", label: {color: "#ff0000", text: "Hello LayaAir"}}; this.TestLablel.text = "测试测试"; 官网提供...
来源: Laya_社区 发布时间: 20170911
...ture1= new Laya.Texture(); Texture1.load("res/1.png",Laya.Handler.create(this,function(){ this.sprite.graphics.drawTexture(Texture1,0,0,50,50,null,1,"#FFFFF"); })); 2021-09-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 破...
来源: Laya_社区 发布时间: 20190508
...: 2 人 黄进 • 2018-06-11 17:23 啥意思? Content.once(Event.CLICK,this,OnMouseDown); Content.once(Event.MOUSE_OUT,this,OnMouseDown); Laya.stage.once(Event.FRAME,this,onEnterFrame); 这样事件都监听不到? Laya_Aaron • 2018-06-11 17:52 你描述的我也不懂是什么意思,只能...
来源: Laya_社区 发布时间: 20180611
...并回收事件的;需要再添加下面代码所示的右键Up监听: this.owner.on(Laya.Event.RIGHT_MOUSE_UP, this, this.onRightMouseUp); 2025-02-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 仓颉 相关问题 TextInput重写...
来源: Laya_社区 发布时间: 20250220
...st.scrollBar.value 目前没什么问题 188*****501 • 2018-07-14 14:12 (this.card_List.scrollPane.posY + this.card_List.height) >= this.card_List.scrollPane.contentHeight 我用的这个判断
来源: Laya_社区 发布时间: 20180702
...是哪个按钮,抛出具体的事件并监听。 myClose.on(Event.CLICK,this,onClicks); myYes.on(Event.CLICK,this,onClicks); myNo.on(Event.CLICK,this,onClicks) } private function onClicks(e:Event):void { // TODO Auto Generated method stub if(e.target.name=="close") { open页面.event(CLOSE, [para...
来源: Laya_社区 发布时间: 20160908
...() { super(); Laya.stage.on(Laya.Event.KEY_UP, this, this.onKeyUp); } onKeyUp(e: Laya.Event) { if (e.keyCode == 65) {//A console.log("释放资源false") Laya.loader.clearRes("res/atlas/comp.json", fals...
来源: Laya_社区 发布时间: 20170317
... new laya.maths.Rectangle(-50,-100,100,100); sp.on(laya.events.Event.CLICK,this,this.spHandler); function spHandler() { sp.graphics.clear(); var rc:number = Math.floor(Math.random()*0xffffff); sp.graphics.drawRect(-50,-100,100,100,"#"+rc); } 这样多包几层,点击区域...
来源: Laya_社区 发布时间: 20180106
全屏请求问题!!!求救啊!!求救啊!! this.fullScreen_btn.on(Laya.Event.CLICK, this, this.onFullScreen, null); _proto.onFullScreen = function () { toggleFullscreen(); }; function launchIntoFullscreen(element) { var element = document.documentElement; if (element.reque...
来源: Laya_社区 发布时间: 20190715
...on/DragonDragon.sk');//加载龙骨动画数据 templete.on(Event.COMPLETE,this,onPleteComed);//数据解析完成后的调度事件。 } private function onPleteComed():void { skeleton=templete.buildArmature(1);//创建动画,类型:1 支持换装 skeleton.pos(150,250);//动画位置 skeleton.p...
来源: Laya_社区 发布时间: 20170324