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

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

41. 网络和格式-POST [ 83%]

...; hr.once(Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Event.COMPLETE, this, this.onHttpRequestComplete); hr.once(Event.ERROR, this, this.onHttpRequestError); hr.send('http://xkxz.zhonghao.huo.inner.layabox.com/api/getData', 'name=myname&psword=xxx', 'post', 'text'); } showLogger() { c...

来源: Laya2.0_示例 发布时间: 20241001

42. 网络和格式-POST [ 83%]

...est(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send('http://xkxz.zhonghao.huo.inner.layabox.com/api/getData', 'name=myname&psword=xxx', 'post', 'text'); } function showLogger() { lo...

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

43. 网络和格式-GET [ 83%]

...; hr.once(Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Event.COMPLETE, this, this.onHttpRequestComplete); hr.once(Event.ERROR, this, this.onHttpRequestError); hr.send('http://xkxz.zhonghao.huo.inner.layabox.com/api/getData?name=myname&psword=xxx', null, 'get', 'text'); } showLogger() {...

来源: Laya2.0_示例 发布时间: 20241001

44. 网络和格式-GET [ 83%]

...est(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send('http://xkxz.zhonghao.huo.inner.layabox.com/api/getData?name=myname&psword=xxx', null, 'get', 'text'); } function showLogger() { ...

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

45. 骨骼动画有没有COMPLETE 事件,设置了没用 [ 83%]

骨骼动画有没有COMPLETE 事件,设置了没用 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: skeleton.player.on(Event.COMPLETE,this,onCom); 2017-08-24 0 0 分...

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

46. Laya.HttpRequest 没有调用回调方法? [ 83%]

...Request(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); consol...

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

47. 骨骼动画-换装 [ 83%]

...s/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFac...

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

48. COMPLETE直接执行了,没有在播放后执行 [ 83%]

COMPLETE直接执行了,没有在播放后执行 动画资源前面已经加载过了,这里调用,如果没有COMPLETE的最后一句动画是正常播放的,但是加上后,就直接没有播放然后remove了 代码如下   附件 : --> 2018-03-05 添加评论 免费帖 --> 分享 微...

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

49. Skeleton 类播放完成一遍后有没事件或者回调 [ 83%]

...,如果play的第二个参数是true,监听mArmature.player.on(Event.COMPLETE,this,onComplete);即可 如果play的第二个参数是false,监听mArmature.on(Event.STOPPED, this, completeHandler);即可!   2017-08-07 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: sketon.player.on(E...

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

50. 骨骼动画-换装 [ 83%]

...s/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...

来源: Laya2.0_示例 发布时间: 20241001