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

大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)

631. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 76%]

...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

632. laya.ui.List [ 76%]

...| 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

633. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 76%]

...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

634. 引擎加载动画过程中断网,动画还会继续加载吗? [ 76%]

...过程中断网,动画还会继续加载吗? 引擎加载动画完成的 event.complet 事件,在加载动画过程中断网,然后重连网络后,该事件一直没有被触发?请问有什么解决方案吗? 2018-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

635. 建议:Laya.init(width, height)设定后可以动态调整 [ 75%]

...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

636. Laya的Dialog上如果有按钮 我希望点击到按钮或者其他可以相应的控件 不会触发拖动效果 [ 75%]

...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

637. 鼠标点击穿透问题 [ 75%]

...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

638. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 75%]

...               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

639. 绘制图形的BUG [ 75%]

...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

640. web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined [ 75%]

...相关的链接 提交 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