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

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

21. Laya中的宏编译要怎么用啊 [ 56%]

...age.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; __JS__Test(); } private function __JS__Test():void { __JS__("window.alert('__JS__语句把我召唤出来了')"); } } } 上面的代码AS3中不会有任何效果,编译成JS后,在Chrome下的执行效果如下...

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

22. UI-RefreshList [ 53%]

...s.refreshList.width = 443; this.refreshList.height = 622; this.refreshList.left = 30; this.refreshList.top = 30; Laya.stage.addChild(this.refreshList); this.refreshList.itemRender = ItemBox; this.refreshList.vScrollBarSkin = ""; // 创建数据 var data = this.createData(9, "初始数据"); this.ref...

来源: Laya2.0_示例 发布时间: 20241001

23. h5 游戏在ios15更新以后出现了显示显示问题 [ 49%]

...们做的尝试:js代码里手动抛出resize事件和改变canvas style left top等属性都无法解决,寻求官方技术支持。 附件 : --> normal_video.mp4_.zip 2021-09-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

24. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 36%]

...这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layabox.com/"; Browser.document.body.appendChild(iframe); } } } ``` ​ 这里面需要提醒开发者的就是定位和层级要记得设置。很多开发者...

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

25. 和原生Dom交互 · LayaAir3.0文档 · LAYABOX [ 35%]

...这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layaair.com/"; Laya.Browser.document.body.appendChild(iframe); 这里面需要提醒开发者的就是定位和层级要记得设置。很多开发者不注意...

来源: Laya3.0_文档 发布时间: 20230629

26. laya.ui.Clip_API3.0 [ 34%]

...graphics gray group height hideFlags hitArea index interval is3D isPlaying left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect sizeGrid skewX skewY skin sources stage staticCache texture timer toolTip top total transform url viewport vi...

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

27. laya.ui.FontClip_API3.0 [ 34%]

...graphics gray group height hideFlags hitArea index interval is3D isPlaying left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect sheet sizeGrid skewX skewY skin sources spaceX spaceY stage staticCache texture timer toolTip top total trans...

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

28. 构建apk后,java报错 [ 34%]

...ary: out_set_compr_volume:ctl for mixer cmd - Compress Playback 15 Volume, left 0.002172, right 0.002172 2018-11-26 18:31:47.724 761-4830/? E/msm8916_platform: platform_check_backends_match: Invalid snd_device =  2018-11-26 18:31:47.725 761-4830/? E/ACDB-LOADER: Error: ACDB AudProc vol returned = -...

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

29. laya.ui.Clip [ 27%]

...态。 如果动画正在播放中,则为true,否则为flash。 Clip left : Number 从组件左边到其内容区域左边之间的水平距离(以像素为单位)。 UIComponent mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显...

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

30. 网络通信 · LayaAir3.0文档 · LAYABOX [ 24%]

...mber):void在当前字节偏移量位置处写入 Float32 值。范围是$\left[-2^{128}, 2^{127}\right]$,约为-3.4E38—3.4E+38。 var byte:Laya.Byte = new Laya.Byte(); byte.writeFloat32(10.021); ​ writeFloat64(value:number):void写入float64位数值 其数值范围为-1.7E308~1.7E+308。 ...

来源: Laya3.0_文档 发布时间: 20230719