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

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

2331. 把场景中的对像删除,就会报错 [ 48%]

...除,就会报错 Uncaught TypeError: Cannot read property 'visible' of null     at RenderSprite3D.__proto._childs (Main.max.js?r0.22069932534774384:33147)     at RenderSprite3D.__proto._graphics (Main.max.js?r0.22069932534774384:33079)     at NpcView.__proto.render (Main.max.js?r0.2206993253...

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

2332. UI-TextArea [ 48%]

...ndler.create(this, onLoadComplete)); } private function onLoadComplete(e:*=null):void { var ta:TextArea = new TextArea(""); ta.skin = skin; ta.font = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; var scaleFactor:Number =...

来源: Laya_示例 发布时间: 20260303

2333. Cannot read property 'call' of undefined [ 48%]

...operty 'cursor' of undefined错误 Cannot read property 'displayObject' of null Laya2.1.0 JS调用Java PlatformClass undefined [TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback function discard property,please use transform's property instead Cannot set property text ...

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

2334. as编译器1.7.5beta的问题 [ 48%]

...解答一下 public function addAssets(assets:Array,loadedFun:Function = null):void { var path = formatString("assets/otherAssets/" + file, STLConstant.scale); } package starling.utils { // TODO: add number formatting options /** Formats a String in .Net-style, with curly braces ("{0}"). Does not su...

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

2335. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 48%]

...: ERROR: Uncaught TypeError: Cannot read property 'addChild' of null, location: /data/user/0/com.vivo.hybrid/app_resource/com.chenxing.vivominigame/jsfile:///C:\Users\74741\AppData\Roaming\Tencent\QQTempSys\OOY5$4OW5H`8`9%(9$)T67M.gifndle.js:0:0        [ERROR] (/opt/jenkins/works...

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

2336. 3D通过AnimatorState为Animator添加多个播放状态islooping属性会被覆盖 [ 48%]

...场景后会触发事件,事件里会再次调用play方法并传了个null进去导致添加前播放的动作被覆盖 。一定要先添加到场景再调用play才正常 如Test类里的add_fish_2 这两个也许不是BUG但这设计也太不人性化了,有时候找半天才知道,很浪...

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

2337. 1.5.4_beta,动画播放完毕的监视器很大概率会不起作用了 [ 48%]

...maname)     {         // 第一次创建一个动画         if (null == this.mAnimaCur)         {             this.mAnimaCur = new laya.display.Animation();             this.mAnimaCur.interval = 100;             this.addChild(this.mAnimaCur);         }       ...

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

2338. LayaFlash针对资源的加载是同步还是异步? [ 48%]

...entListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; IFlash.setSize(1000, 600); //2D项目中设置场景尺寸 IFlash.setOrient...

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

2339. 循环添加一组按钮事件无法正常使用 [ 48%]

...   }         }         private function mouseHandler(e:Event=null)         {             trace("mouseEvent");             trace("e "+e.target);             switch (e.type)             {                 case Event.MOUSE_DOWN:     ...

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

2340. [LayaAir3]VideoTexture,VideoNode视频和Image图片内存释放问题 [ 48%]

...o标签,而原生的video标签一旦创建了,如果不将src设置为null,会一直占用内存,据我看源码并没有这一步操作,所以视频占用的内存完全无法释放   Image的内存问题出现在我重复对一个Image组件更换skin,由于我不可能每次都去...

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