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

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

151. 1.7的接口消失 [ 66%]

1.7的接口消失 // ZmyTestManager.Ani.on(Laya.Event.COMPLETE, this, this.OnCurrentAnimationCompleted);//循环动画完成播放单次循环 // ZmyTestManager.Ani.on(Laya.Event.STOPPED, this, this.OnCurrentAnimationStopped);//非循环动画停止播放 这个接口在2.0后就没有了 文档...

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

152. 图集动画结束回调有延迟 [ 66%]

...s.ded.on(Laya.Event.LABEL, this, this.onHitOver);  this.ded.on(Laya.Event.COMPLETE, this, this.onHitOver);  两种方法都会有延迟,不能100%执行 2018-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回...

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

153. 动画监听回调怎么会无限成倍调用 [ 66%]

动画监听回调怎么会无限成倍调用 this.star.on(Laya.Event.COMPLETE, this, function () { 解决这个问题·两天了·我差点怀疑我的智商,写了好几遍正确的递归思路。结果就是成倍调用, 最后发现是 我在递归方法里面监听动画播放完毕,第...

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

154. laya.d3.core.Avatar_API3.0 [ 66%]

...会忽略lock=true的资源。 Returns void Static load load(url: string, complete: Handler): void Defined in laya/d3/core/Avatar.ts:35 加载Avatar文件。 Parameters url: string Avatar文件。 complete: Handler 完成回掉。 Returns void Globals "laya/d3/core/Avatar" Avatar constructor destory...

来源: Laya3.0_api 发布时间: 20231102

155. 【简单跑酷--JS版】---Lv.3 添加地板 [ 66%]

... this.bgTexture = null; //最大右边距离 this.maxRight = 0; this.isOutComplete = false; //背景 this.bg = null; Floor.__super.call(this); } //事件名称 //超过屏幕一定值出发新的floor事件 Floor.OUT_COMPLETE = "floor_out_complete"; //整个地板都不在屏幕里面事件 Floor.OU...

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

156. layaFlash 无法使用 Loader 加载外部SWF和图片 [ 66%]

...tionDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onSwfLoaded); loader.load(new URLRequest("binarys.swf"),context); } protected function onSwfLoaded(event:Event):void { // TODO Auto-generated method stub var mc:MovieClip=event.target.content as MovieClip; mc.play();...

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

157. 二进制图片(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 66%]

...te = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuffer; ...

来源: Laya2.0_文档 发布时间: 20210714

158. ts如何判断canvas是否失去焦点 [ 66%]

...代码下载? 如何判断是手机浏览器还是pc浏览器? tween complete 报错 以及如何判断对象正在缓动中 请问LayaFlash是否考虑开源? 如何在chrome console 里模拟canvas点击事件 List不能监听MouseMove,怎么判断是长按拖动还是滑动 laya,dialog...

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

159. http无响应 [ 65%]

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

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