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

大约有 118 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0032 秒)

91. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 54%]

...it(1136, 640); var xhr:HttpRequest = new 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("res/data.data","","get","text"); } private function p...

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

92. 被遮罩的显示对象的子显示对象再添加遮罩,则子显示对象显示不正确 [ 54%]

...300, "#ffffff"); this.img.mask = imgMask; Laya.Tween.to(this.img, {x:100}, 10000).update = Laya.Handler.create(this, this.updateMsk, null, false); } private updateMsk():void { this.img.mask.graphics.clear(true); this.img.mask.graphics.drawRect(100 - this.img.x, 0, this.img.width, 300, "#ffffff"); } ...

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

93. 加载不了模型 [ 54%]

...照相机         var camera = (scene.addChild(new Laya.Camera(0, 0.1, 10000)));         camera.transform.translate(new Laya.Vector3(0, 5, 5));         camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false);         camera.clearColor = Laya.Vector3(255,255,0.1);       ...

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

94. 手机闪退,提示:JCTexture::freeGLResource thread error [ 54%]

...oogle-breakpad: 1.0.0 22402-16 22:30:46.971 16366 16366 W google-breakpad: 10000 22502-16 22:30:46.971 16366 16366 W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ### 22602-16 22:30:46.973 16366 16366 E CrashReport-Native: Faile to open comm file(/system/build.prop) 2019-02-27 添...

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

95. 3D加载不了 [ 54%]

...照相机         var camera = (scene.addChild(new Laya.Camera(0, 0.1, 10000)));         camera.transform.translate(new Laya.Vector3(0, 5, 5));         camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false);         camera.clearColor = Laya.Vector3(255,255,0.1);       ...

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

96. 分享:常见 IDE 错误提示解决方案 [ 54%]

...错类型3: IDE错误:Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ETIMEDOUT 127.0.0.1:9222).------可以参考开发者的解决方式(http://ask.layabox.com/question/4392)   以上报错可能是端口号冲突导致的,需...

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

97. 被遮罩的对象的子显示对象再添加遮罩,子显示对象的遮罩显示不正确 [ 53%]

...300, "#ffffff"); this.img.mask = imgMask; Laya.Tween.to(this.img, {x:100}, 10000).update = Laya.Handler.create(this, this.updateMsk, null, false); } private updateMsk():void { this.img.mask.graphics.clear(true); this.img.mask.graphics.drawRect(100 - this.img.x, 0, this.img.width, 300, "#ffffff"); } ...

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

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

...了登录按钮')  var xhr = new Laya.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:...

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

99. LayaAir中怎么使用node.js 的 socket.io [ 52%]

...正确,现在出现 TypeError: Cannot create property 'path' on number '10000' at new r (file:///Users/bingbing/MahjongProject/MahjongLaya/bin/socket.io.js:1:15053) zhishaofei3 • 2017-09-22 23:31 @piaobo80:链接打不开了怎么办 还有链接吗 重发一下 zhishaofei3 • 2017-09-22 23:33 ...

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

100. 使用以下代码打开超大分辨率图片 WebGL 模式无法正常显示 [ 51%]

...码当图片分辨率不太大时 正常访问, 工程图图片达到5000-10000 分辨率时, 黑屏, 希望能给出解决方案 谢谢了! 附件是测试DEMO 图片hug.png 为大分辨率图片 big.png 为普通分辨率图片 格式为PNG测试浏览器为 谷歌浏览器 手机浏览器采用 ...

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