大约有 2,173 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(1729) Laya3.0_api(198) Laya2.0_文档(65) Laya2.0_api(61) laya_api(55) Laya3.0_文档(44) Laya2.0_示例(11) Laya_示例(10)
Laya.timer.loop() 报错 Cannot read property 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public ...
来源: Laya_社区 发布时间: 20200203
...的UI 层级问题 如图, 红色区域 是放置在最底层的 背景IMAGE 黄色区域 是放置在上层的 背景IMAGE 本想通过红色与黄色之间增加一个SP,用来作为角色层,导出发现UI编辑的层级并不会保存起来。 请教下 这种情况如何处理, ...
来源: Laya_社区 发布时间: 20170627
...unction Init(){ Laya.init(800,600); bg = new laya.display.Sprite(); bg.loadImage("res/bg.png"); bg.pos(0,0); bg.width = 100; bg.height = 100; bg.size(100,100); Laya.stage.addChild(bg); } 2016-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20160711
...e上传图片,然后通过FileReader获取图片数据之后设置laya的image.skin图片不显示 __proto.uploaderHandler=function (files) { var self=this; var file=files[0]; var reader=new FileReader(); reader.onload=function () { ...
来源: Laya_社区 发布时间: 20170808
....Loader.ATLAS}, {url:"texture/bg_公告底.png",type:Laya.Loader.IMAGE}, {url:"texture/bg_选服底.png",type:Laya.Loader.IMAGE}, {url:"texture/bg_注册.png",type:Laya.Loader.IMAGE}, {url:"texture/BG.png",type:Laya.Loader.IMAGE}, {url:"texture/pic_进度...
来源: Laya_社区 发布时间: 20180325
...UrlLoader加载图片,flash获取data为byteArray,翻译成h5后data为image? package { import flash.display.Bitmap; import flash.display.Loader; import flash.display.Sprite; import flash.events.Event; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.URLReques...
来源: Laya_社区 发布时间: 20151228
...设置max来规避这个问题; 在1.0版本中我们需要您使用除image外的ui组件时都要进行预加载资源后才能进行更换皮肤等操作,但在2.0版本我们在进行诸如更换皮肤等操作时,考虑了未加载的情况,但一些计算布局等函数内由于需要...
来源: Laya_社区 发布时间: 20211108
....videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture; image.width = videoTexture.video.videoWidth; image.height = videoTexture.video.videoHeight; image.pos(100,100); Laya.stage.addChild(image); //目前LayaAir2.0引...
来源: Laya_社区 发布时间: 20240305
... = 190; private skin_progress_chip:Laya.ProgressBar; private skin_img:Laya.Image; private skin_chipNum:Laya.Text; public skin_btn_use:Laya.Image; private skin_lock:Laya.Image; private skin_inUse:Laya.Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.initBuild(); this.skin_btn_use.on...
来源: Laya_社区 发布时间: 20180828
...创建的图片,会报这个错:node._setParent is not a function this.imageBg = this.owner.getChildByName("image_bg"); console.log("this.imageBg==="+this.imageBg); for (let iColumns = 1; iColumns < this.intColumns; iColumns++) { this.arrLove[iColumns] = []; for (let iRows = 1; iRows < thi...
来源: Laya_社区 发布时间: 20190625