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

大约有 562 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0086 秒)

391. laya.ui.Label [ 60%]

...chy : Boolean[read-only] 获取在场景中是否激活。 Node  align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不...

来源: Laya2.0_api 发布时间: 20190513

392. 求HTTP相关的文档或者例子谢谢了 [ 60%]

... // TODO Auto-generated method stub trace("加载完成!!!") var str:String=event.target.data; var jsonObject:Object=JSON.parse(str); trace(jsonObject.status); trace(jsonObject.message) } protected function progressEventHandler(event:ProgressEvent):void { // TODO Auto-generated method stub tra...

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

393. HttpRequest问题 [ 60%]

...2打开控制台报错是什么 15818760256 • 2018-02-08 14:19 send(url: string, data?: any, method?: string, responseType?: string, headers?: Array<any>): void; 这个发送的时候加入header,header里面的key-value如果key是固定的命名吗?如果value值是"Access-Control...

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

394. Laya怎么使用雪碧图(spritesheet)? [ 60%]

...wf",...] var b:Array = ; for (var i:int = 0; i < a.length; i++) { var s:String = a; var u:String = s.substr(0, s.length - 4);//去掉.swf后缀 var o1:Object = { url:u + "/sheet.js?v=" + config.version, type:ResLoader.TXT, size:1}; var o2:Object = { url:u + "/sheet.png?v=" + config.version, type:...

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

395. 背景音乐文件太大 播放延迟 [ 60%]

...e)         })       public static playBackGroundMusic(urlstring, start: number) {         if (soundMsg.isPlayingBgMusic) {             let path = "remote/music/" + url + '.mp3';             Laya.SoundManager.playMusic(path, 1, new Laya...

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

396. laya.ui.UIGroup [ 60%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...

来源: laya_api 发布时间: 20170929

397. laya.ui.Button [ 60%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...

来源: laya_api 发布时间: 20170929

398. laya.ui.DialogManager [ 60%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...

来源: laya_api 发布时间: 20170929

399. laya.ui.ComboBox [ 60%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component  button : Button[read-only] 获取对...

来源: laya_api 发布时间: 20170929

400. laya.ui.UIGroup [ 60%]

...法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent ...

来源: Laya2.0_api 发布时间: 20190513