大约有 519 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya_社区(231) Laya3.0_api(103) Laya2.0_api(81) laya_api(62) Laya2.0_文档(16) Laya2.0_示例(10) Laya_示例(9) Laya3.0_文档(7)
1.7的接口消失 // ZmyTestManager.Ani.on(Laya.Event.COMPLETE, this, this.OnCurrentAnimationCompleted);//循环动画完成播放单次循环 // ZmyTestManager.Ani.on(Laya.Event.STOPPED, this, this.OnCurrentAnimationStopped);//非循环动画停止播放 这个接口在2.0后就没有了 文档...
来源: Laya_社区 发布时间: 20181017
...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
动画监听回调怎么会无限成倍调用 this.star.on(Laya.Event.COMPLETE, this, function () { 解决这个问题·两天了·我差点怀疑我的智商,写了好几遍正确的递归思路。结果就是成倍调用, 最后发现是 我在递归方法里面监听动画播放完毕,第...
来源: Laya_社区 发布时间: 20171215
...会忽略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
... 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
...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
...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
...代码下载? 如何判断是手机浏览器还是pc浏览器? tween complete 报错 以及如何判断对象正在缓动中 请问LayaFlash是否考虑开源? 如何在chrome console 里模拟canvas点击事件 List不能监听MouseMove,怎么判断是长按拖动还是滑动 laya,dialog...
来源: Laya_社区 发布时间: 20170220
...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
...事件类型是否是鼠标事件。 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