大约有 238 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0047 秒)
...der.onload=function () { this.headIcon.loadImage(this.result); 或者 this.headIcon.skin=this.result; } reader.readAsDataURL(file); } 2017-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20170808
...ckGround(){ BackGround.super(this); this.bg1 = new Laya.Sprite(); this.bg1.loadImage("war/background.png"); this.addChild(this.bg1); } Laya.class(BackGround,"BackGround",_super); return BackGround; })(Laya.Sprite);报错 "TypeError: this.addChild is not a function at BackGround (file:///D:/test...
来源: Laya_社区 发布时间: 20181003
...戏中失效? 我一直用的遮罩啊。 let Mask=new Laya.Sprite(); Mask.loadImage("sprites/mask.png"); this._Myheadimage.skin=_data.avatarUrl +"?aa=aa.jpg"; this._Myheadimage.mask=Mask; 2018-12-08 0 0 分享 微博 QZONE 微信 CGH 赞同来自: 1.开放域遮罩失效,是因为开放域不...
来源: Laya_社区 发布时间: 20181125
...t;</g></svg>" var sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 1280, 720,Handler.create(this,()=>{ sp.graphics.getBoundPoints().forEach(e=>{ console.log("_getBoundPointsM:",e); }); })); sp.x=0; sp.y=0; this._sptse=sp; Laya.stage.addChild(sp);
来源: Laya_社区 发布时间: 20170423
...帧属性面板打不开 自从layaflash起,就一直存在的bug image loadimage 加载网络图片BUG 2.3.0发布微信小游戏,自动缓存:查找不到资源问题的Bug 微信小游戏兼容性bug 部分机型load场景不显示 微信6.7.2版本3D显示BUG 关于2D物理碰撞无法触...
来源: Laya_社区 发布时间: 20181127
...ller(); } function createCharacter() { character = new Sprite(); character.loadImage("../../res/cartoonCharacters/1.png"); character.pos(100, 50); Laya.stage.addChild(character); } function createEaseFunctionList() { var easeFunctionsList = new List(); easeFunctionsList.itemRender = ListItemRender; ...
来源: Laya_示例 发布时间: 20261113
...定义 laya.wx.mini.MiniAdpter。 AS3 怎么调用微信JS的api 在AS3中loadImage("")加载图片时,没有显示,这个路径要怎么设置啊? 问题状态 最新活动: 2017-02-27 21:55 浏览: 1957 关注: 3 人
来源: Laya_社区 发布时间: 20170227
...rite: Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.loadImage("myComp/loading_01.png"); //将遮罩设置给sprite sprite.mask = mask; } 如图所示,一个正常,一个显示白色背景,不知道是不是bug。 附件 : --> 2021-10-02 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20211002
...的bug 微信6.7.2版本3D显示BUG Laya2.0.1动态批处理的bug? image loadimage 加载网络图片BUG 2.3.0发布微信小游戏,自动缓存:查找不到资源问题的Bug Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 问题状...
来源: Laya_社区 发布时间: 20190102
... index.html:1 Access to Image at 'file:///D:/My_HTML5_Project/AS3/project/LoadImage/bin/h5/comp/a1.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 好像是说不允许加载,请问怎么解决? 虽然IDE可以加载图片...
来源: Laya_社区 发布时间: 20180119