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

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

621. movieClip stop 没有用 [ 76%]

...xueying 赞同来自: package { import laya.ani.swf.MovieClip; import laya.events.Event; public class DragonMaskDemo { public function DragonMaskDemo() { Laya.init(550, 300); swfPlay(); } private function swfPlay():void { var mc:MovieClip=new MovieClip(); mc.load('reset.swf'); mc.on(Event.LOADED,thi...

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

622. tiledmap Bug [ 76%]

...layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.tiledmap.js:398:19)   at EventHandler.__proto.runWith (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:1407:59)   at Loader.__proto.event (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.core.js:1164:28)   at Loader....

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

623. laya.d3.core.light.LightSprite_API3.0 [ 76%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

来源: Laya3.0_api 发布时间: 20231115

624. Laya中textinput的监听事件的执行顺序是FOCUS=>MOUSE_DOWN=>CLICK,有没有比FOCUS还要先触发的监听 [ 76%]

...K,有没有比FOCUS还要先触发的监听 this.textinput_message.on(Laya.Event.CLICK,this,()=>{ console.log("CLICK>>>"); }) this.textinput_message.on(Laya.Event.MOUSE_DOWN,this,()=>{ console.log("MOUSE_DOWN>>>"); }) this.textinput_message.on(Laya.Event.FOCUS, this, () =>...

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

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

626. 在Test中有个按钮点击,那么我如何发信号,使得这个点击能给控制Sample中的对象,如何调用函数 [ 76%]

...你可以通过自定义事件来实现,在点击按钮时,发送一个event自定义事件,在Sample中对该事件进行监听package { import laya.events.EventDispatcher; public class Mod extends EventDispatcher { public function Mod() { super(); } private static var _instance:Mod; public s...

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

627. 左右上下能拖拽地图添加on事件报错 [ 76%]

...: 4 人 linyewen • 2022-02-25 17:45 这么修改也会报错吧,this._events[type]是个数组 linyewen • 2022-02-28 11:05 @linyewen:况且增加的this._events[type]上面不是已经判断过了吗 Laya_Yan • 2022-02-28 11:52 @linyewen:你按照图中还会报错吗?报错的话提供个...

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

628. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 76%]

... (index > 5) index = 5; this.setCurPage(index) } public onMouse(e: Laya.Event, index: number): void { if (e.type == Laya.Event.MOUSE_DOWN) { this.m_downValue = this.list_rule.scrollBar.value; } else if (e.type == Laya.Event.MOUSE_UP || e.type == Laya.Event.MOUSE_OUT) { if (this.m_downValue > -...

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

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

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

630. tiledMap 官方示例都运行不了 [ 75%]

...istrator/Documents/myLaya/Hello/bin/libs/laya.tiledmap.js:244:19)     at EventHandler.__proto.runWith (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.core.js:1125:59)     at Loader.__proto.event (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.core.js:882...

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