大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0177 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...){ var mc:MovieClip = new MovieClip; mc.load(ul); this.addChild(mc); mc.on(Event.COMPLETE,this,stopNowMC) } } private function stopNowMC(e:Event):void{ trace(e.currentTarget); trace(e.target); MovieClip(e.currentTarget).gotoAndStop(MovieClip(e.target).count-1); } AS3代码是这样的,但是COMPLE...
来源: Laya_社区 发布时间: 20161221
...图12-3所示。 (图12-3) 3.4 事件 需要在@bpClass标签中加入events,示例代码如下所示: const { bpClass, bpFunction } = BP; @bpClass({ name: "TestEvents", extends: "Sprite", construct: { params: [ { "name": "eee", "type": "string" } ] }, events: [{ name: "onTest", params: [{ n...
来源: Laya3.0_文档 发布时间: 20251010
... text: dome 如下 ( IOS 浏览器 和 火狐浏览器) 打开 直接Event.ERROR 不会进入 Event.COMPLETE 点击(点我赋值) 或者 (发送请求) 按钮 模拟器成功 火狐或者ios 浏览器失败 附件 dome ifarmLayaT.zip 附件 : --> 2017-06-20 1 条评论 免费帖...
来源: Laya_社区 发布时间: 20170620
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...yName' of undefined at RigidAnimations.__proto._init (laya.d3.js:27913) at EventHandler.__proto.runWith (laya.core.js:674) at AnimationTemplet.__proto.event (laya.core.js:458) at AnimationTemplet.__proto._endLoaded (laya.ani.js:3154) at AnimationTemplet.__proto.onAsynLoaded (laya.ani.js:3186) at Res...
来源: Laya_社区 发布时间: 20170922
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...dmc_skycity_attack1/.lh")); effect.once(Laya.Event.HIERARCHY_LOADED, this, function(){ var particle = effect.getChildAt(0).getChildAt(0).particleSystem; particle.on(Laya.Event.COMPLETE, this, functi...
来源: Laya_社区 发布时间: 20170614
...onLoaded():void{ var img:Image = new Image("fish_6.png"); img.on(Event.CLICK,this,onClick); img.mouseThrough = true; Laya.stage.addChild(img); } 代码就这么简单,图片我传到附件里面 shiyang • 2018-03-14 15:55 private function onClick(e:Event):void{ trace("xxxxxxx"...
来源: Laya_社区 发布时间: 20180314
...tp = new Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传...
来源: Laya_社区 发布时间: 20180315