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

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

91. 二进制图片(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 68%]

...XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObj...

来源: Laya2.0_文档 发布时间: 20210714

92. ui list 里面的元素不能点击两次 [ 68%]

...Mouse(e:Event,index:Number):void { // TODO Auto Generated method stub if(e.type==Event.CLICK) { trace("click"); } } 2016-12-02 3 2 分享 微博 QZONE 微信 sunkehappy 赞同来自: @cuixueying 感谢提供方案,不过我还是想多说一句,selectHander最好是应该允许被调用多次吧...

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

93. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 67%]

...t.name == "input_password" || input.name == "input_repassword") { // input.type = "password"; // } break; case Laya.Event.BLUR: this._checkInput(input); // input.color = "#888"; // 用户什么也没输入则恢复默认状态 if (input.text.length == 0) { this._setPlaceHolder(input); // input.align...

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

94. Native 如何使用ttf? [ 67%]

...yabox.com/doc/?nav=zh-ts-7-2-9 var xhr = new XMLHttpRequest(); xhr.responseType = 'arraybuffer'; xhr.open('GET', "res/font/Arial.ttf", true); xhr.onload = function () { Laya.Browser.window.conch.setFontFaceFromBuffer("Arial", xhr.response); setInterval(onDrawFrame, 15); }; xhr.onerror = function (e)...

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

95. canvas下资源清理的问题 [ 67%]

...               Laya.loader.load([{url: "res/atlas/common.atlas", type: Loader.ATLAS}]);                          Stat.show();         }                  private function onClick(e:Event):void         {             switch(e.currentTarget) ...

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

96. 多线程Worker · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...任何完成操作的机会;就是简单的立即停止 属性 Property Type Description onmessage EventListener 一个事件监听函数,每当拥有message属性的MessageEvent从worker中冒泡出来时就会执行该函数。事件的data属性存有消息内容。 onerror EventListener 一...

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

97. laya.events.KeyBoardManager_API3.0 [ 66%]

...KeyBoardManager enabled hasKeyDown Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

98. 设置transform.localRotation之后,就不能再使用transform.rotate[ 66%]

...)byteOffset: (...)length: (...)Symbol(Symbol.toStringTag): (...)__proto__: TypedArray__proto__: Object bom.transform.localRotation=new Laya.Quaternion(0, 0,0,0);           //设置了localRotation Quaternion {elements: Float32Array[4]} bom.transform.worldMatrix                       ...

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

99. laya.utils.Mouse_API3.0 [ 66%]

...tils/Mouse" Mouse cursor hide show Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method

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

100. 列表嵌套另外一个列表 [ 66%]

...ayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 View嵌套Dialog组件 问题状态 最新活动: 2018-05-23 10:39 浏览: 979 关注: 2 人 星竹 • 2018-05-23 10:57 那怎么找里面的那个list w1114367261 ...

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