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

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

241. Uncaught TypeError: Cannot read property '_tf' of null [ 71%]

... 个回复 nieyiwei 赞同来自: private var _guideImage:Image;   public function main():void {   _guideImage = new Image();   _guideImage.source = Loader.getRes("source/png/ui/1/guideImg.png");     tweenGuide1(_guideImage );     Tween.clearAll(_guideImage);   _guideImage.destroy(true);  ...

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

242. 解析sk资源报错 [ 71%]

...     {         private var _templet:Templet;         public function CombatRole()         {             super();             initView();         }                  private function initView():void         {             _templet ...

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

243. as3字符串截取int的问题 [ 71%]

...自动转成以下JS并报错Uncaught ReferenceError: int is not defined function DConfig(){}; __class(DConfig,'DConfig'); __getset(1,DConfig,'GamrRoomEnterPower',function(){ return DConfig.gamrRoomEnterPower; },function(value){ DConfig.gamrRoomEnterPower=value; console.log(DConfig.gamrRoomEnterPowe...

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

244. 怎么使用http请求 [ 71%]

怎么使用http请求 httpRequest: function (url, data) { var xhr = cc.loader.getXMLHttpRequest(); if (!xhr.onreadystatechange) { xhr.onreadystatechange = function () { if (xhr.readyState == 4 && (xhr.status >= 200 && xhr.status <= 207)) { //cc.log("response:\n" + xhr.respons...

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

245. laya.utils.IStatRender_API3.0 [ 71%]

...ters ctx: any x: number y: number Returns void set_onclick set_onclick(fn: Function): void Defined in laya/utils/IStatRender.ts:26 点击性能统计显示区域的处理函数。 Parameters fn: Function Returns void show show(x?: number, y?: number, views: any): void Defined in laya/utils/IStatRend...

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

246. Cannot read property 'toDefault' of undefined报错是什么原因 [ 71%]

...如下:Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; this.skyBox = new Laya.SkyBox(); this.ca...

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

247. laya.components.AnimatorState2D_API3.0 [ 71%]

...则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除...

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

248. Laya.loader.create 报错, 升级2.0.2后 游戏卡顿 [ 71%]

...read property '_addReference' of undefined;at api request success callback function TypeError: Cannot read property '_addReference' of undefined     at t.<anonymous> (https://usr/game.js:49:8301)     at e.n._parse (https://usr/game.js:66:1995)     at Function.t._createNodeByJson (http...

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

249. 调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined [ 71%]

... TypeError: Cannot read property 'call' of undefined 代码: var Test = (function(_surper){    function Test(){         Test.super(this);     };     Laya.class(Test, "Test", _surper);     return Test;      })(ui.TestUI);     报错Uncaught TypeError: Cannot read property 'call' of...

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

250. 飞机大战地图滚动报错,麻烦看下? [ 71%]

...nit(650, 316, Laya.WebGL); var bg1 = null; var bg2 = null; var box = null; function bg_rolling() {     box = new laya.display.Sprite();     Laya.stage.addChild(box);     bg1 = new laya.display.Sprite();     bg1.loadImage("res/bg1.png");     box.addChild(bg1);     bg2 = new laya.display.S...

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