大约有 708 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
Laya_社区(372) Laya3.0_api(110) Laya2.0_api(105) laya_api(67) Laya2.0_文档(26) Laya2.0_示例(10) Laya3.0_文档(9) Laya_示例(9)
...放无声音 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
...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
...提示 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
...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
...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
...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
...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
...文件D:\s3mh5_client\laya\pageStyles.xml出错 读取文件出错 Packing complete All Work complete 完成 虽然最终导出的素材没什么问题,看到一个读取文件出错的信息总是不爽的!想知道具体原因。 2017-10-28 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20171028
...\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
...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