大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...iew.m_jump.onClick(this, this.onJump) this.view.m_left.on(Laya.Event.MOUSE_DOWN,this, this.onleft) this.view.m_left.on(Laya.Event.MOUSE_UP,this, this.notleft) this.view.m_right.on(Laya.Event.MOUSE_DOWN,this, this.onright) this.view.m_right.on(Laya.Even...
来源: Laya_社区 发布时间: 20221207
...| All Classes | Index | Frames No Frames ListProperties | Methods | Events Packagelaya.uiClasspublic class ListInheritanceList Box Component Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定...
来源: laya_api 发布时间: 20170929
...dule laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: s...
来源: Laya_社区 发布时间: 20171106
...过程中断网,动画还会继续加载吗? 引擎加载动画完成的 event.complet 事件,在加载动画过程中断网,然后重连网络后,该事件一直没有被触发?请问有什么解决方案吗? 2018-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20180331
...ber=500; var h:Number=400; Laya.init(w,h); 2/请为你的舞台监听Event.RESIZE事件,再Event.Resize下通过Browser.window.width和Browrowser.window.height获取屏幕宽高,将获取之后的宽高赋值给w和h即可! 2017-02-09 0 4 分享 微博 QZONE 微信 ohkei - as3、as2、h5...
来源: Laya_社区 发布时间: 20170209
...rag:boolean) { this.m_CanDrag = canDrag; if(this.m_CanDrag) { this.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } else { this.off(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } } onMouseDown(e: Laya.Event) { // console.log(e.currentTarget, e.target); if(e.target == this) { this.startDrag(...
来源: Laya_社区 发布时间: 20191121
...4892 关注: 2 人 cuixueying • 2016-01-07 16:04 private function init(e:Event=null):void { var sp1:Sprite=new Sprite(); sp1.graphics.beginFill(0xFF00FF); sp1.graphics.drawRect(100,100,200,200); sp1.graphics.endFill(); addChild(sp1); sp1.addEventListener(MouseEvent.CLICK,onSp1); var sp2:Sprite=new...
来源: Laya_社区 发布时间: 20151102
... hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send(NameJo...
来源: Laya_社区 发布时间: 20160626
...ight; } } } BUG2:package ui.test { import laya.display.Sprite; import laya.events.Event; public class MyBox1 extends Sprite { private var _sprite:Sprite; public function MyBox1() { super(); _sprite=new Sprite(); //这里明明传入了尺寸,为什么graphics没有宽高信息 _sprite.graphics.dra...
来源: Laya_社区 发布时间: 20170124
...相关的链接 提交 2 个回复 金风 赞同来自: this.xhr.once(Laya.Event.COMPLETE, this, this.CompleteHandler); this.xhr.once(Laya.Event.ERROR, this, this.ErrorHandler); this.xhr.on(Laya.Event.PROGRESS, this, this.ProgressHandler); this.xhr.send(Global.WebHost+this.currentRequest.url, this.c...
来源: Laya_社区 发布时间: 20200629