大约有 336 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0042 秒)
Laya_社区(267) Laya2.0_文档(21) Laya2.0_示例(10) Laya_示例(9) laya_api(8) Laya3.0_api(8) Laya2.0_api(8) Laya3.0_文档(5)
...a.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE, this, completeHandler); xhr.once(Event.ERROR, this, errorHandler); xhr.on(Event.PROGRESS, this, processHandler); xhr.send("http://www.baidu.com", "", "get", "text"); function processHandler(data) { console.log...
来源: Laya_社区 发布时间: 20180208
... this.dlg; } function connect() { var hr = new Laya.HttpRequest(); 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&pas...
来源: Laya_社区 发布时间: 20170215
...15952728807 • 2017-12-05 15:44 (function() { var Stage = Laya.Stage; var Event = Laya.Event; var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var tiledMap; var mLastMouseX = 0; var mL...
来源: Laya_社区 发布时间: 20171205
... SpineTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos...
来源: Laya2.0_文档 发布时间: 20210715
...ser; var Sprite = laya.display.Sprite; var TextInput = Laya.TextInput; var Event = laya.events.Event; var Handler = Laya.Handler; var ProgressBar = laya.ui.ProgressBar; var Button = Laya.Button; var Dialog = Laya.Dialog; var Images = Laya.Image; var SKEvent = Laya.Event; var Socket = Laya.Socket; va...
来源: Laya_社区 发布时间: 20201001
...03:8888"); // this.socket.connect("10.10.1.103",8888); this.socket.on(Laya.Event.OPEN, this, openHandler); //建立连接 this.socket.on(Laya.Event.MESSAGE, this, receiveHandler); //接收到数据触发函数 this.socket.on(Laya.Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.E...
来源: Laya_社区 发布时间: 20180509
... at e.playSound\n at e.onRandBtnDown\n at e.runWith\n at i.event \n at t.e.sendEvents \n at t.e.onMouseDown 我们游戏的线上前端日志发现了很多类似上述的错误日志,使用Laya自带的SoundManager音乐播放器有浏览器的兼容性问题,出现这...
来源: Laya_社区 发布时间: 20180902
...代码如下: ```java package { import laya.display.Sprite; import laya.events.Event; import laya.net.HttpRequest; import laya.utils.Browser; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var sp:Sprite = new Sprite(); var xhr:HttpRequest = new Htt...
来源: Laya2.0_文档 发布时间: 20210714
... at onLoaded (file:///Users/moos/Company/EmersonGame/src/Game.js:43:25) at EventHandler.__proto.runWith (file:///Users/moos/Company/EmersonGame/bin/libs/laya.core.js:724:59) at ResInfo.__proto.event (file:///Users/moos/Company/EmersonGame/bin/libs/laya.core.js:494:28) at LoaderManager.__proto._endLo...
来源: Laya_社区 发布时间: 20180707
...prite.__proto._setTextureEx (http://stand.alone.version/lib ... 906:34) at EventHandler.__proto.runWith (http://stand.alone.version/lib ... 408:41) at Texture.__proto.event (http://stand.alone.version/lib ... 169:30) at Texture.__proto._onLoaded (http://stand.alone.version/lib ... 5598:8) at EventHa...
来源: Laya_社区 发布时间: 20190302