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

大约有 1,215 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)

291. LAYAAIR加载SWF无线循环 [ 75%]

...cheight:"+mc.height);                      //  mc.on(Event.LOADED,this,onComp);         //  mc.on(Event.COMPLETE,this,onEnd);         //  mc.x = (Laya.stage.width ) / 2;         //  mc.y = (Laya.stage.height) / 2;             Laya.stage...

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

292. 关于event中只读属性touches,问题,求解 [ 75%]

关于event中只读属性touches,问题,求解 主类: package { import laya.display.Text; import laya.events.Event; import laya.webgl.WebGL; public class DemoTouch { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text...

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

293. [Error] TypeError: null is not an object (evaluating 'this._style._tf') [ 75%]

....js:10293) fitDOMElementInArea (laya.core.js:10340) run (laya.core.js:710) event (laya.core.js:494) setScreenSize (laya.core.js:18495) _changeCanvasSize (laya.core.js:18371) run (laya.core.js:9832) _update (laya.core.js:9576) render (laya.core.js:18561) _loop (laya.core.js:18519) loop (laya.core.js:...

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

294. 播放骨骼动画 [ 75%]

...tar:Laya.Skeleton; this.factory = new Laya.Templet(); this.factory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.factory.on(Laya.Event.ERROR, this, this.onError); this.factory.loadAni("sp/aa.sk"); this.avatar = this.factory.buildArmature(0); this.avatar.play(0,true); 2017-07-18 添加评...

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

295. laya.resource.RenderTexture2D_API3.0 [ 75%]

...emoveReference _setCPUMemory _setCreateURL _setGPUMemory clear destroy end event getData getIsReady gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once restore start destroyUnusedResources popRT pushRT Constructors constructor new RenderTexture2D(width: number, height: numb...

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

296. js飞机大战报错 请大神看看 [ 75%]

...按钮点击事件 点击后暂停游戏         this.pauseBtn.on(Laya.Event.CLICK, this, this.onPauseBtnClick);         // 初始化UI 显示         this.reset();     } ...     "Cannot read property 'on' of undefined" "TypeError: Cannot read property 'on' of undefined     at new ...

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

297. laya.d3.resource.RenderTextureCube_API3.0 [ 74%]

... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new RenderTextureCube(size: number, c...

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

298. 微信小游戏 Animation 无法监听到Event.COMPLETE [ 74%]

微信小游戏 Animation 无法监听到Event.COMPLETE anim.on(Event.COMPLETE,this,function onComplete():void{ trace("动画播放完毕了===%%%%%%%%%%%%%%%%%"); } 在微信小游戏中监听不到 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

299. laya.resource.NativeRenderTexture2D_API3.0 [ 74%]

...ference _setCPUMemory _setCreateURL _setGPUMemory _start clear destroy end event getData getIsReady gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recycle restore start destroyUnusedResources popRT pushRT Constructors constructor new NativeRenderTexture2D(width: number...

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

300. laya.components.AnimationClip2D_API3.0 [ 74%]

...earReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addEvent destroy duration event hasListener hermiteCurveSplineWeight isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Object literals tween Constructors constructor new AnimationClip2D(): AnimationClip2D Ov...

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