大约有 254 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(161) Laya3.0_api(22) laya_api(21) Laya2.0_api(16) Laya2.0_文档(13) Laya2.0_示例(8) Laya_示例(8) Laya3.0_文档(5)
...r.height / 2 + 100); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Event.STOPPED, this, this.play) this.play(); } private function onError(): void{ trace("parse error"); } private function play(): void { console.log("1111111111"); if(++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } t...
来源: Laya2.0_文档 发布时间: 20210715
...se):Point 把stage的全局坐标转换为本地坐标。 Sprite gotoAndStop(index:int):void 跳到某帧并停止播放动画。 MovieClip hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number,...
来源: laya_api 发布时间: 20170929
...ate onClipSwitchState(): void { if (this.counter.isPlaying) { this.counter.stop(); this.currFrame = this.counter.index; this.controller.label = "播放"; } else { this.counter.play(); this.counter.index = this.currFrame; this.controller.label = "暂停"; } } } } new laya.UI_Clip(); ```
来源: Laya2.0_文档 发布时间: 20210714
...ll):Point 把stage的全局坐标转换为本地坐标。 Sprite gotoAndStop(index:int):void 跳到某帧并停止播放动画。 MovieClip hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number,...
来源: Laya2.0_api 发布时间: 20190513
...kinBaseUrl _url autoSize hitTestPrior mouseThrough name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY animationName blendMode cacheAs components currentTime customRenderEnable destroyed displayHeight displayWidth displayedI...
来源: Laya3.0_api 发布时间: 20231115
... } Lload.prototype.loadEnd = function(){ this.ani1.stop(); Tween.to(this.smallfont,{alpha:0},500); Tween.to(this.btn,{y:925},500,null,null,500) } Lload.prototype.toquanjing = function(){ tj.qicheng(); game.toquanjing...
来源: Laya_社区 发布时间: 20160815
...se):Point 把stage的全局坐标转换为本地坐标。 Sprite gotoAndStop(position:*):void 将动画切换到指定帧并停在那里。 AnimationPlayerBase hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hi...
来源: laya_api 发布时间: 20170929
...器为播放状态 if (counter.isPlaying) { //停止播放动画 counter.stop(); //记录当前播放索引(如果不记录,重新播放时,索引会从0开始) currentIndex = counter.index; //按钮标签改变 controller.label = "播放"; } else//计数器为停止状态 { //播放动画 c...
来源: Laya2.0_文档 发布时间: 20210714
...ll):Point 把stage的全局坐标转换为本地坐标。 Sprite gotoAndStop(position:*):void 将动画切换到指定帧并停在那里。 AnimationBase hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestP...
来源: Laya2.0_api 发布时间: 20190513
... this.skeleton.scale(0.5, 0.5); this.skeleton.on(Event.STOPPED, this, this.play); this.play(); } onError() { console.log("parse error"); } play() { console.log("1111111111"); if (++this.index >= this.skele...
来源: Laya_社区 发布时间: 20211013