大约有 501 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0090 秒)
...ixueying 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就是横屏,而且还被拉伸了 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 Layaair IDE的...
来源: Laya_社区 发布时间: 20160802
...21 0 4 分享 微博 QZONE 微信 ohkei - as3、as2、h5 赞同来自: <script src='LayaSample.max.js?'+Math.random() loader='laya'></script> 我是在后面加个随机数,这样能看到更新的laya js,如果更新同名图片,在loadImg时在图片后面加个图片版本号“...
来源: Laya_社区 发布时间: 20170721
...Class, property } = Laya; @regClass() export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https://layaair.com/3.x/demo/resources/res/apes/monkey2.png"); } /**加载并...
来源: Laya3.0_文档 发布时间: 20251010
... width="300" height="300" id="canvas"></canvas> </body> <script> $("#file").change(function (){ var file = new FileReader();//读取文件2进制 file.onload = function(e){ var base64 = e.target.result; var img = new Image();//创建一个图片对象 img.onload = function (){ v...
来源: Laya_社区 发布时间: 20170111
...mx:Canvas> </mx:Canvas> <mx:Script> < TypeError: Cannot read property 'enable' of undefined laya.core.js:22121 at HTMLScriptElement.script.onload (file:///E:/h5/project/...
来源: Laya_社区 发布时间: 20191106
...INDEX.HTML中会在<!--jsfile--startTag-->中生成对应的JS的<script>标签,这样挺不错的。 但是有时候项目中要有多个页面的时候就不知道咋办了。 比如,我有a.js b.js c.js d.js 4个JS文件, 有 index.html simp.html 两个html文件, ...
来源: Laya_社区 发布时间: 20170828
...e" style="width:100px; height:100px; margin-top:15px;"></div> <script type="text/javascript"> var qrcode = new QRCode(document.getElementById("qrcode"), { width : 100, height : 100 }); function makeCode (_qrchr) { qrcode.makeCode(_qrchr); } makeCode("asfasdfas5151a31fsefasefsafe"); &l...
来源: Laya_社区 发布时间: 20170817