大约有 121 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0033 秒)
Laya_社区(72) Laya2.0_文档(16) Laya2.0_api(10) laya_api(8) Laya3.0_api(7) Laya3.0_文档(6) Laya2.0_示例(1) Laya_示例(1)
...a.Socket(); this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.on(Laya.Event.OPEN, this, this.onConnectSuccess); this.socket.on(Laya.Event.CLOSE, this, this.onDisonnect); this.socket.on(Laya.Event.ERROR, this, this.onConnectFail); this.socket.on(Laya.Event.MESSAGE, this, this.onReceive); this.so...
来源: Laya_社区 发布时间: 20180910
...ectByUrl("wss://192.168.1.250:5000/websocket/"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.erro...
来源: Laya_社区 发布时间: 20180510
...接 this.socket.connectByUrl("ws://localhost:8899"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); } private...
来源: Laya_社区 发布时间: 20180210
...a.HttpRequest(); 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...
来源: Laya_社区 发布时间: 20180824
...Url("ws://"+host+":"+port+"/hoopster"); //建立连接 this.socket.on(Laya.Event.OPEN, this, onOpen); this.socket.on(Laya.Event.MESSAGE, this, onReceive); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); 以上代码,host传...
来源: Laya_社区 发布时间: 20180312
...到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 marievent_gf 赞同来自: cuixueying 、q12647 找到layaflash类库 C:\Users\Administrator\AppData\Local\LayaFlash\tools\lib2.6\libs\iflash\src\iflash\events\EventManager.as 找到方法 public function acceptSystemMouseEv...
来源: Laya_社区 发布时间: 20160831
...alDialog: NormalDialog; constructor() { super(); this.btn_signin.on(Laya.Event.CLICK, null, () => { this.showDialog("登录成功") }); this.btn_register.on(Laya.Event.CLICK, null, () => { this.showDialog("注册功能暂未开放") }); } showDialog(context: string) { // if (this.normalD...
来源: Laya_社区 发布时间: 20181216
...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_社区 发布时间: 20181107
...接 this.socket.connectByUrl("ws://45.78.**.**:3000"); 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.Event.ERROR, this, errorHandler); function openHandler(event)...
来源: Laya_社区 发布时间: 20180125
...taFormat.VARIABLES*/"variables"; this.publicloader.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.checkListComp)); this.url=new URLRequest("wished.php"); this.url.method=/*iflash.net.URLRequestMethod.POST*/"P...
来源: Laya_社区 发布时间: 20151217