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

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

161. ComboBox显示问题 [ 57%]

...combobox1.png", "labels": "hihihi,hihihi2,hihihi2"}}]}; override protected function createChildren():void { super.createChildren(); createView(uiView); } } } 为什么我这个ComboBox的label文字没有显示的? 2018-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

162. Morn下List组件如何给每一条列表添加Click事件,是需要for吗? [ 57%]

...n.core.handlers.Handler; public class ListView extends ListViewUI { public function ListView() { super(); var arr:Array=[]; for(var i:int=0;i<95;i++) { arr.push({icon:i,label:"Index"+i}); } boxList.array=arr; boxList.mouseHandler=new Handler(listRender); } private function listRender(e:MouseEvent...

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

163. 加载的时候动画会卡 [ 57%]

加载的时候动画会卡 上代码: _pro.startLoad = function() {         this.loadLayer = new Lload();         this.big.addChild(this.loadLayer);         var imgArr = ;         imgArr.push({url:"cont/cpf1.jpg",type:Loader.IMAGE});         imgArr.push({url:"cont/cpr1.jpg",...

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

164. layaFlash 无法使用 Loader 加载外部SWF和图片 [ 57%]

...flash.system.LoaderContext; public class SwfBinary extends Sprite { public function SwfBinary() { super(); if(stage) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new Loade...

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

165. 扇形遮罩画不全画了一个很奇怪的形状但是矩形的就没问题。显示效果如下:版本号1.7.10 [ 57%]

...S_TIMER_TYPE_RECT:String = "PROGRESS_TIMER_TYPE_RECT"         public function ProcessTimer(size:Size)         {             this.spSize = size;             super();         }                  public static function create(img:Image,size:laya.maths.Size...

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

166. loadLib("libs/laya.device.js"); native上会随机宕 [ 56%]

...:     //Laya.__init([Media]);   另外视频destr __proto.destroy=function(detroyChildren){         (detroyChildren===void 0)&& (detroyChildren=true);         _super.prototype.destroy.call(this,detroyChildren);         // native会崩溃         // this...

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

167. UI-Tree [ 56%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Box = Laya.Box; var Clip = Laya.Clip; var Label = Laya.Label; var Utils = Laya.Utils; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24"...

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

168. @regClass编译报错! [ 56%]

...加载本地图片都报错 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2023-06-09 16:59 浏览: 2950 关注: 3 人 买包的小当家 • 2023-06-08 21:18 。。。 别闹!import循环引用在项目里太正常了。 这几个文件是我把工程里有问...

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

169. 分享:简单聊天室 [ 56%]

...:String; private var str2:String; private var isSend:Boolean=false; public function HtmlView1() { super(); // 文本样式一 str="<span color='blue' style=' font" + ":18px 华文琥珀' href='http://ask.layabox.com'>LayaBox</span>" + "<span color='white' style=' font:18px 华文琥...

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

170. bug:laya.Scene.destroy [ 56%]

...t.length;i < n;i++){//这里缓存了长度,但是在 __proto.destroy=function(destroyChild){ (destroyChild===void 0)&& (destroyChild=true); this._idMap=null; _super.prototype.destroy.call(this,destroyChild); var list=laya.display.Scene.unDestroyedScenes; for (var i=0,n=list.length;i &l...

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