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

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

101. 使用Handler 返回name 始终是 undefined [ 68%]

使用Handler 返回name 始终是 undefined public function RegDlg() { this.btn_submit.name = Dialog.SURE; this.closeHandler = Handler.create(this ,this.onClose, ["123"],false); } private function onClose(name:String):void{ if(name == Dialog.SURE){ var di:NormalDlg = new NormalDlg(); di.popupConte...

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

102. graphics使用matrix的异常情况 [ 68%]

...情况 Laya.loader.load("../../res/apes/monkey2.png", Handler.create(this, function() { var t = Laya.loader.getRes("../../res/apes/monkey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); ape.graphics.scale(1.01, 1) Laya.stage.addChild(ape); ape.pos(200, 0); })); 上面这段代码...

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

103. 发布原生 ios/android 的渲染问 题 [ 68%]

...更新_cnavas相关的状态     */     __proto._checkCanvasEnable=function(){         var tEnable=this._cacheStyle.needEnableCanvasRender();         this._getCacheStyle().enableCanvasRender=tEnable;         if (tEnable){             if (this._cacheStyle.n...

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

104. laya.device.motion.RotationInfo_API3.0 [ 68%]

...r absolute alpha beta compassAccuracy gamma Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Property Enumeration Interface

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

105. httpRequest send返回Request failed Status:0 [ 68%]

...下 var WebGL = Laya.WebGL; // 程序入口 var GameMain = /** @class */ (function () { function GameMain() { //初始化引擎 Laya.init(1136, 640); for (var i = 0; i < 4; i++) { var sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); var url = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr...

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

106. 在微信小游戏真机wx.onShow和wx.onHide中的currTimer的问题 [ 68%]

...信小游戏真机wx.onShow和wx.onHide中的currTimer的问题  public function Main() { MiniAdpter.init(); MiniAdpter.window.wx.onShow(_onShowWX); MiniAdpter.window.wx.onHide(_onHideWX); } private function _onShowWX(res:*):void { console.log("wx.onShow:",res); console.log(Laya.timer.currTimer); }...

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

107. 关于ios下的错误 [ 67%]

...uffer*, int&) + 360 6 WebCore WebCore::jsWebGLRenderingContextPrototypeFunctionBufferSubData(JSC::ExecState*) + 648 7 JavaScriptCore _llint_entry + 26144 8 JavaScriptCore _llint_entry + 24552 9 JavaScriptCore _llint_entry + 24552 10 JavaScriptCore _llint_entry + 24552 11 JavaScriptCore _llint_en...

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

108. [LayaAir3]LayaNative ios使用TTF字体启动奔溃 [ 67%]

...f30 <+76>:  bl     0x1c1b38f5c               ; std::__1::function<void (unsigned int, bool*)>::operator()(unsigned int, bool*) const 附件 : --> shell.zip 2024-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

109. undefined is not an object是什么错误。。。 [ 67%]

...rdScriptError undefined is not an object;at requestAnimationFrame callback function undefined 2019-01-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 从这个报错上来看,应该是代...

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

110. layaAir1.3.1版本SWF组件播放速度异常 [ 67%]

...rt laya.events.Event; public class AAA { private var swf:MovieClip; public function AAA() { Laya.init(550,400); swf=new MovieClip(); swf.load("data.swf"); swf.on(Event.LOADED,this,onLoaded); Laya.stage.addChild(swf); } private function onLoaded():void { // TODO Auto Generated method stub swf.interva...

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