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

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

181. 动效模板(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 76%]

...效果模板。** **步骤一**:我们从资源管理器中,将一个Image组件拖拽到`scale.efc`的场景编辑器中。如图3所示。 ![图3](img/3.png) (图3) **步骤二**:勾选`动画编辑模式`,然后选中`第1帧`和`Image`组件,在组件上右键`创建关键帧`。 如...

来源: Laya2.0_文档 发布时间: 20210715

182. ui编辑器编辑了一个面板,面板里有个button, 编辑好以后,正常加载ui 面板,button的图片资源没找到,导致button无法正常显示 [ 76%]

...3-31 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: ui组件除了image和clip之外,所有的图片资源皮肤都需要提前预加载,否则运行的时候会出现譬如丢失的问题! 2017-03-31 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...

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

183. Clip属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 76%]

...a.events.Event; import laya.ui.Button; import laya.ui.Clip; import laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_Clip { /***控制器按钮资源***/ private var buttonSkin:String = "../../../../res/ui/button-7.png"; /***切片资源***/ private var clipSkin:Stri...

来源: Laya2.0_文档 发布时间: 20210714

184. 微信小游戏图片加载不出来 [ 76%]

...载不出来 var resArray = [{ url: "ui/BG/Start.png", type: Laya.Loader.IMAGE }, { url: "ui/BG/load.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.atlas", type: Laya.Loader.ATLAS }, { url: "res/atlas/ui.atlas", type: Laya.Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(th...

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

185. htmldivelement报错 [ 75%]

htmldivelement报错 HtmlImageElement的style为空,这个问题有人问过了 但是没人说咋解决file:///C:/Users/jing/Documents/Tencent%20Files/812258221/Image/Group/Image4/O9ZTMJ62$~3QNC7951YN%7DWB.jpg 附件 : --> 2018-12-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

186. 关于List组件的问题,有些地方不是很明白 [ 75%]

...list,他下面有一个box,然后在box里添加其他的组件例如image,button啊,我现在想通过list获得box下面的button,应该怎么获得? 还有,list的getCell()函数返回的是一个box。那返回的这个box的宽和高,和我在引擎里设置的是一样的吗?...

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

187. 关于Button Skin 切图问题 [ 75%]

...应该能让切图轻松一些把   mport os import math from PIL import Image  # if png pngs=[] maxWith = 0 maxHeight = 0 for idx in range(1,4): fname = os.path.join( os.path.curdir, "btn_{0}.png".format(idx)) if os.path.exists( fname) : im=Image.open( fname) pngs.append( im) maxWith = max( maxW...

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

188. Laya.loader.create问题 [ 75%]

...题 使用Laya.loader.create方法加载了png图片 之后使用new Laya.Image(url),并添加到舞台,发现场景整个是黑的,未发现图片,而如果没使用Laya.loader.create,而直接new Laya.Image(url)的话,就会出现图片,这是为啥? 2017-05-19 添加评论 免费...

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

189. laya.ui.Dialog_API3.0 [ 75%]

..."); } } } } import laya.ui.Button; import laya.ui.Dialog; import laya.ui.Image; class Dialog_Instance extends Dialog { function Dialog_Instance():void { var bg:Image = new Image("resource/ui/bg.png"); bg.sizeGrid = "40,10,5,10"; bg.width = 150; bg.height = 250; addChild(bg); var image:Image = new Im...

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

190. ComboBox显示问题 [ 75%]

...import laya.display.*;  public class MainHeadUI extends View { public var image1:Image; public var input:TextInput; public var combox:ComboBox; public var radio:RadioGroup; public var checkBox:CheckBox; public var gongji:Button; public var btn1HasLabel:Button; public static var uiView:Object = {"ty...

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