大约有 710 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya_社区(373) Laya3.0_api(110) Laya2.0_api(105) laya_api(67) Laya2.0_文档(26) Laya3.0_文档(10) Laya2.0_示例(10) Laya_示例(9)
...ROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传输失败后返回 //post数据的写法 console.log(JSON.stringify(request)); this....
来源: Laya_社区 发布时间: 20180315
.../* * 场景资源 */ this.m_info_bg = null; this.m_gun_root = null; this.m_complete = null; /* * 战场数据 */ this._NormalBattleInfo = null; this._InfiniteBattleInfo = null; this._zombie_info_obj = null; this.m_fight_2d_root.destroy();//销毁场景 this.m_fight_2d_root = null; this.m_cur_...
来源: Laya_社区 发布时间: 20191102
...成可点击的指针“小手的样子”,求大神解析 function parseComplete() { mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STO...
来源: Laya_社区 发布时间: 20170818
...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(poin...
来源: laya_api 发布时间: 20170929
...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite loadImages(urls:...
来源: laya_api 发布时间: 20170929
...tionDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onCom); loader.load(new URLRequest("datas.swf"),context); } protected function onCom(event:Event):void { var loaderInfo:LoaderInfo=event.target as LoaderInfo; var mc:MovieClip=loaderInfo.content as MovieClip; mc.play...
来源: Laya_社区 发布时间: 20151216
...。选择动画模版的过程如下:1.Animation loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...
来源: Laya2.0_api 发布时间: 20190513
...件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...
来源: Laya2.0_api 发布时间: 20190513
...olean 是否是全面屏 包括 安卓跟苹果 MoreGame load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设...
来源: Laya2.0_api 发布时间: 20190513
...定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设...
来源: Laya2.0_api 发布时间: 20190513