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

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

51. Event.CLICK和Event.MOUSE_UP [ 69%]

Event.CLICK和Event.MOUSE_UP 目前的这两个好像没有区别,Event.MOUSE_UP好理解,我有imageA和imageB,现在我先点在imageA上不松,然后移动到imageB上松开,结果为imageB被点(因为它只判定我松开时是什么组件被点)。但我用Event.CLICK也是如...

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

52. 网络通信 · LayaAir3文档 · LAYABOX [ 69%]

...,完成事件,错误事件等 /** * 请求进度改变时调度。 * @eventType Event.PROGRESS * */ /*[Event(name = "progress", type = "laya.events.Event")]*/ /** * 请求结束后调度。 * @eventType Event.COMPLETE * */ /*[Event(name = "complete", type = "laya.events.Event")]*/ /** * 请求...

来源: Laya3.0_文档 发布时间: 20250104

53. laya.net.Socket_API3.0 [ 68%]

... Socket 对象。 Socket 以异步方式传输和接收数据。 Hierarchy EventDispatcher Socket Index Constructors constructor Properties disableInput protocols BIG_ENDIAN LITTLE_ENDIAN Accessors connected endian input output Methods cleanSocket close connect connectByUrl event flush hasListener o...

来源: Laya3.0_api 发布时间: 20231115

54. Native1.0.1 无法连接wss [ 68%]

...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

55. socket.sent [ 68%]

...接 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

56. websocket连接, ws 时没问题,改成 wss 没反应 [ 68%]

...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

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

...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

58. websocket无法连接 [ 67%]

...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

59. iphone自带浏览器页面怎么锁定 [ 67%]

...到相关结果 已邀请: 与内容相关的链接 提交 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

60. dialog的popup方法不会关闭其他弹窗 [ 67%]

...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