大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
...码设定ProgressBar相关的属性。 **运行示例效果:**  (图5)通过代码创建ProgressBar ProgressBar的其他属性也可以通过代码来设置,上述示例演示了如何通过代码创建不同皮肤(样式)的ProgressBar,有兴趣的读者可以自...
来源: Laya2.0_文档 发布时间: 20210715
...上就能找到) function dataURLtoBlob(base64Data):*{ var byteString; if (base64Data.split(",")[0].indexOf("base64") >= 0) byteString = Browser.window. atob(base64Data.split(",")[1]); else byteString = Browser.window.unescape(base64Data.split(",")[1]); var mimeString = base64Data .split(",")[0...
来源: Laya_社区 发布时间: 20181221
...Rate=60)] public class Main extends Sprite { public function Main():void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#FFFFFF"); //背景色 IFlash.showInfo(false); //是否显示帧率 if (stage) init(); else addEv...
来源: Laya_社区 发布时间: 20151225
... clip.name='Ele' +id; if (node.nodeName == "clip") { clip.autoPlay = true; //妖孽在此,此妖只吃新鲜数字常量,直接上供写上100...
来源: Laya_社区 发布时间: 20170918
...ya.init(100,100); var sessionStroage = Laya.Browser.window.sessionStroage; if(sessionStorage.pagecount){ sessionStorage.pagecount = parseInt(sessionStorage.pagecount)+1; } else{ sessionStorage.pagecount = 1; } console.log(sessionStorage.pagecount); ``` var sessionStroage = Laya.Browser.window.sessio...
来源: Laya2.0_文档 发布时间: 20210715
...d curated experience that they expect on the App Store, we have always specified that apps must be self-contained bundles. This means that the core features and functionality of the app must be contained within the binary of the software, rather than made possible by referring users outside of the a...
来源: Laya_社区 发布时间: 20190909
...mersive-ar" Returns Promise<boolean> A Promise that resolves to true if supported and false if not off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/ev...
来源: Laya3.0_api 发布时间: 20231115
...内容相关的链接 提交 3 个回复 李政666 赞同来自: //主域if(Laya.Browser.onMiniGame){//加载一个json和图集Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){//加载完成//使用接口将图集透传到子域Laya.MiniAdpter.sendAtl...
来源: Laya_社区 发布时间: 20190419
使用js压缩工具报错 提示undifined 附件 : --> LayaDefault.max_.zip 2018-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 描述一下问题,不要直接发demo,正常跑...
来源: Laya_社区 发布时间: 20180806
uglify压缩后的错误堆栈解析 1、js的压缩工具:.laya/publish.js 中 // 压缩js gulp.task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle...
来源: Laya_社区 发布时间: 20200720