大约有 230 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
使用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
...情况 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
...更新_cnavas相关的状态 */ __proto._checkCanvasEnable=function(){ var tEnable=this._cacheStyle.needEnableCanvasRender(); this._getCacheStyle().enableCanvasRender=tEnable; if (tEnable){ if (this._cacheStyle.n...
来源: Laya_社区 发布时间: 20190612
...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
...下 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
...信小游戏真机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
...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
...f30 <+76>: bl 0x1c1b38f5c ; std::__1::function<void (unsigned int, bool*)>::operator()(unsigned int, bool*) const 附件 : --> shell.zip 2024-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20240124
...rdScriptError undefined is not an object;at requestAnimationFrame callback function undefined 2019-01-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 从这个报错上来看,应该是代...
来源: Laya_社区 发布时间: 20190108
...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