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

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

361. List选中项下滚会变 [ 76%]

...{ // console.log("index",index); // } _proto_.onMouse = function(e,index){ if(e.type == Laya.Event.CLICK){ //console.log(e.type,index); if(this.selectedIndex !== index){ if(this.selectedIndex!==-1){ //之前选中的列表项的选中状态设置为false this.sList.setItem(this.selectedIndex,{ selec...

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

362. Main无法正常使用,找不到它的定义 [ 76%]

...x);             var curX:Number,curY:Number;             if(type.type== "mousedown")             {                 _oldY = Laya.stage.mouseY;                 var itemBox:Box = _list.getCell(index);                 _itemHeight = itemBox.h...

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

363. FontClip [ 76%]

...致无法生效 /**渲染数值*/ protected function changeValue():void { if (!this._sources) return; if (!_valueArr) return; 2017-12-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: fontcli...

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

364. ConchInput settype无效 [ 76%]

...  },function(value){         console.info(value)         if (value=="password")             this._getCSSStyle().password=true;         else         this._getCSSStyle().password=false;         this._type=value;         if (Render.isConchAp...

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

365. tween [ 76%]

...在 Laya.scaleTimer.once(delay,this,this.firstStart,[target,props,isTo]); if (runNow){ if (delay <=0)this.firstStart(target,props,isTo); else Laya.scaleTimer.once(delay,this,this.firstStart,[target,props,isTo]); }else { this._initProps(target,props,isTo); } 不要再叫我传demo了 程序员一...

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

366. H5小游戏,IOS平台退到后台,长时间返回画面卡顿或者直接卡死! [ 76%]

...._update()方法的这段代码:                     if (handler.repeat){                         if (!handler.jumpFrame){                             handler.exeTime+=handler.delay;                      ...

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

367. spine 推荐使用方式 [ 76%]

...理     */     __proto.destroyTexture=function(){         if(this._mainTexture!=null){             this._mainTexture.disposeBitmap();         }         this._needRecoverTexture = true;     }     /**      * 恢复纹理      */     __pro...

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

368. 如何让发布后的H5加载资源用src或href指向本地路径,而不是网络请求 [ 76%]

...his.audioBuffer = WebAudioSound._dataCache[url];             if (this.audioBuffer) {                 this._loaded(this.audioBuffer);                 return;             }             WebAudioSound.e.on("loaded:" + url, this,...

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

369. 3D空间转2D空间的问题 [ 76%]

...位置的代码如下: //判断显示图标的X是在左边还是右边 if(this.imgPos2.x < 0 ){ this.imgPos2.x = 0; }else if( this.imgPos2.x >= camera_width){ this.imgPos2.x = camera_width - 84; //判断显示图标的Y是在上面还是下面 if(this.imgPos2.y < 0 ){ this.imgPos2.y = 0;...

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

370. 自动旋转后残影 [ 76%]

...ze(Browser.width,Browser.height); } protected function ChangeSize():void { if (Browser.width > Browser.height) this.HengPing(); else this.ShuPing();    } protected function onResize():void{ ChangeSize(); if(_tip) _tip.destroy();   _tip = new Sprite(); _tip.graphics.drawRect(0,0,100,100,"#FFFFF...

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