大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
...{ // 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
...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
...致无法生效 /**渲染数值*/ protected function changeValue():void { if (!this._sources) return; if (!_valueArr) return; 2017-12-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: fontcli...
来源: Laya_社区 发布时间: 20171201
... },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
...在 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
...._update()方法的这段代码: if (handler.repeat){ if (!handler.jumpFrame){ handler.exeTime+=handler.delay; ...
来源: Laya_社区 发布时间: 20180411
...理 */ __proto.destroyTexture=function(){ if(this._mainTexture!=null){ this._mainTexture.disposeBitmap(); } this._needRecoverTexture = true; } /** * 恢复纹理 */ __pro...
来源: Laya_社区 发布时间: 20201128
...his.audioBuffer = WebAudioSound._dataCache[url]; if (this.audioBuffer) { this._loaded(this.audioBuffer); return; } WebAudioSound.e.on("loaded:" + url, this,...
来源: Laya_社区 发布时间: 20200107
...位置的代码如下: //判断显示图标的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
...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