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

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

171. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 67%]

...放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recoverWebAudio(); url = URL.formatURL(url); if (url ...

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

172. 最新版本IDE,如何获取http返回的json数据 [ 67%]

...Request(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.once(Event.PROGRESS,this,processHandler);  var sendData = {account:"aaa",password:"bbb"} xhr.send("http://xxx/login", JSON.stringify(sendData), "po...

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

173. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 67%]

...提示 Uncaught TypeError: handler.run is not a function at Tween.__proto.complete (laya.core.js:9423) 9423 :handler && handler.run(); 你们自己试试吧。。为啥要。&&run() 2017-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

174. LayaFlash针对资源的加载是同步还是异步? [ 67%]

...er:Loader = new Loader(); loader.contentLoaderInfo.addEventListener (Event.COMPLETE, layaAssetLoadComplete); loader.load(new URLRequest(path)); } private function layaAssetLoadComplete(event:Event):void { var loaderInfo:LoaderInfo = event.target as LoaderInfo; loaderInfo.removeEventListener(Event.CO...

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

175. 骨骼动画-Spine事件 [ 67%]

...res/spine/spineRes6/alien.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_示例 发布时间: 20251130

176. tiledmap有时尺寸不正确 [ 67%]

...e = ESceneLoadState.eLoadNull; // 地图创建完成回调函数 private _mCompleteHandler:Handler = null; private _mTest:number = 0; constructor(){ } /** * 创建地图,并显示当前场景 * @param conf 地图的配置信息 */ public create(conf:LevelConf, handler:Handler):void{ this._mLevelCo...

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

177. 骨骼动画-Spine事件 [ 67%]

...res/spine/spineRes6/alien.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_示例 发布时间: 20251130

178. layacmd使用ui命令,读取文件D:\s3mh5_client\laya\pageStyles.xml出错 [ 67%]

...文件D:\s3mh5_client\laya\pageStyles.xml出错 读取文件出错 Packing complete All Work complete 完成   虽然最终导出的素材没什么问题,看到一个读取文件出错的信息总是不爽的!想知道具体原因。   2017-10-28 添加评论 免费帖 --> 分享 微博 QZONE ...

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

179. 导出素材,不拷贝未打包资源 [ 66%]

...\Ap pData\Roaming\npm\node_modules\layacmd\node_modules\@types' npm ERR! A complete log of this run can be found in: npm ERR!     C:\Users\itadmin3\AppData\Roaming\npm-cache\_logs\2017-10-27T02_56_ 14_026Z-debug.log 2017-10-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

180. laya.events.Event [ 66%]

...ing = close[static] 定义 close 事件对象的 type 属性值。Event  COMPLETE : String = complete[static] 定义 complete 事件对象的 type 属性值。Event  COMPONENT_ADDED : String = componentadded[static] 定义 componentadded 事件对象的 type 属性值。Event  COMPONENT_REMOVE...

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