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

大约有 506 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0056 秒)

151. http无响应 [ 66%]

...est(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send('http://111.73.45.19/index.php/Tgy/tgyPost', 'username=c11111&password=888888', 'post', 'text'); } function onHttpRequestErro...

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

152. laya.ani.bone.Skeleton [ 65%]

...事件类型是否是鼠标事件。 EventDispatcher  load(path:String, complete:Handler = null, aniMode:int = 0):void 通过加载直接创建动画 Skeleton loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一...

来源: laya_api 发布时间: 20170929

153. 从网络上下载的BMP图片二进制数据后,如何赋值给 laya.ui.Image [ 65%]

...var req = new laya.net.HttpRequest();         req.on(laya.events.Event.COMPLETE, this, cb_onSuccess);         req.on(laya.events.Event.ERROR, this, cb_onFail);         req.send(url);      }      // 下载jpg图片成功后,显示在舞台上,response为 bmp图片二进制    ...

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

154. Uncaught TypeError: Cannot read property 'props' of undefined [ 65%]

...)     at Loader.__proto.event (laya.core.js:911)     at Loader.__proto.complete (laya.core.js:14555)     at Loader.__proto.onLoaded (laya.core.js:14523)     at EventHandler.__proto.runWith (laya.core.js:1155)     at HttpRequest.__proto.event (laya.core.js:911)     at HttpRequest.__proto....

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

155. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 65%]

...s:1400) at Loader.__proto.event (libs/laya.core.js:1156) at Loader.__proto.complete (libs/laya.core.js:16348) at Loader.__proto.onLoaded (libs/laya.core.js:16316) at EventHandler.__proto.runWith (libs/laya.core.js:1399) at HttpRequest.__proto.event (libs/laya.core.js:1156) at HttpRequest.__proto.com...

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

156. laya.display.FrameAnimation [ 65%]

...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

157. 关于HttpRequest [ 65%]

...vent.PROGRESS, this, function (e) { console.log(e); }); hr.once(Laya.Event.COMPLETE, this, function () { console.log(hr.data); }); hr.once(Laya.Event.ERROR, this, function (e) { console.log(e); }); hr.send('http://stone.tt.be-xx.com/git/test.php', s, 'post', 'text'); Log.trace(s);   怎么转 我...

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

158. laya.ani.bone.Skeleton [ 65%]

...事件类型是否是鼠标事件。 EventDispatcher  load(path:String, complete:Handler = null, aniMode:int = 0):void 通过加载直接创建动画 Skeleton loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意...

来源: Laya2.0_api 发布时间: 20190513

159. l龙骨动画内存上升 [ 65%]

...;             tem.loadAni(url);             tem.on(Event.COMPLETE, this, function():void {                 longgu = tem.buildArmature(0);                 longgu.pos(dragronX, dragronY);                 parent.addChild(longgu);            ...

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

160. layabox能用上webp图片格式么? [ 64%]

...oader:Loader=new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onCom); loader.load(new URLRequest("aaa")); private function onCom(event:Event):void { // TODO Auto-generated method stub addChild(event.target.content) } 使用宏命令(Laya_Publish_H5)翻译到layaIflash编译...

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