大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...除,就会报错 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
...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
...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
...解答一下 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
...: 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
...场景后会触发事件,事件里会再次调用play方法并传了个null进去导致添加前播放的动作被覆盖 。一定要先添加到场景再调用play才正常 如Test类里的add_fish_2 这两个也许不是BUG但这设计也太不人性化了,有时候找半天才知道,很浪...
来源: Laya_社区 发布时间: 20190803
...maname) { // 第一次创建一个动画 if (null == this.mAnimaCur) { this.mAnimaCur = new laya.display.Animation(); this.mAnimaCur.interval = 100; this.addChild(this.mAnimaCur); } ...
来源: Laya_社区 发布时间: 20161205
...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
... } } private function mouseHandler(e:Event=null) { trace("mouseEvent"); trace("e "+e.target); switch (e.type) { case Event.MOUSE_DOWN: ...
来源: Laya_社区 发布时间: 20170517
...o标签,而原生的video标签一旦创建了,如果不将src设置为null,会一直占用内存,据我看源码并没有这一步操作,所以视频占用的内存完全无法释放 Image的内存问题出现在我重复对一个Image组件更换skin,由于我不可能每次都去...
来源: Laya_社区 发布时间: 20240228