大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0083 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...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
...All Classes | Index | Frames No Frames SliderProperties | Methods | Events Packagelaya.uiClasspublic class SliderInheritanceSlider UIComponent Sprite Node EventDispatcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来...
来源: Laya2.0_api 发布时间: 20190513
... (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
...Children addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAn...
来源: Laya3.0_api 发布时间: 20231115
...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
...一份demo上来我看看 lengyu • 2018-04-19 15:11 @w1114367261: spr.on(Event.MOUSE_DOWN, this, onStartDrag,arr); spr.on(Event.MOUSE_UP,this, onStopDrag,arr);,我就这两个函数,监听spr,这个sprite对象,然后再舞台上死命甩,就有可能会导致up事件不会触发呢,...
来源: Laya_社区 发布时间: 20180419
...回调 已经测试过的方式: 以下三种方式都无返回 window.addEventListener('devicemotion', function(event){}) window.addEventListener('deviceorientation', function(event) {}) Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onDeviceorientation); 连接打开方式都由...
来源: Laya_社区 发布时间: 20191202
...: 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
...\node_modules\vscode-debugadapter\lib\protocol.js:24:60) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at readableAddChunk (_stream_readable.js:[...] GameInfo.js代码: var GameInfo = (function(_super){ function GameInfo(){ GameInfo.super(this);...
来源: Laya_社区 发布时间: 20170416
..._Aaron 赞同来自: package { import laya.device.media.Video; import laya.events.Event; import laya.utils.Browser; public class Main { public function Main() { Laya.init(500,500); Laya.stage.once(Event.CLICK,this,this.clickHandler); } private function clickHandler():void { var iframe:Object = Brows...
来源: Laya_社区 发布时间: 20180223