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

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

851. laya.ani.swf.MovieClip [ 53%]

...l Classes | Index | Frames No Frames MovieClipProperties | Methods | Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Sho...

来源: laya_api 发布时间: 20170929

852. 关于官方技术文档中《微信飞机大战》实战开发中监听界面是否关闭 [ 53%]

...战开发中监听界面是否关闭 //监听界面是否关闭 this.once(Event.CLOSE,this,onClose); /** * 界面关闭 */ private function onClose():void { console.log("GameStart界面关闭!"); //从舞台移除自己 this.removeSelf(); //只加载一次,因此直接消毁自己 this.destroy()...

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

853. 关于屏幕适配的问题(急) [ 53%]

...果想在缩放页面以后还是这样的效果,就 Laya.stage.on(Laya.Event.RESIZE, panel, function() {     panel.height = Laya.stage.height; }); 2018-01-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 lbxw 相关问题 发起问...

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

854. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 53%]

...ss VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Event.CLICK,this,this.onClick); } onClick(){ this.initVideo(); } initVideo() { this.htmlvideo = new Laya.HtmlVideo(); this.htmlvideo.setSource("https://www.layaair.com/3.x/de ... ot%3B,1); this.htmlvideo.video.addEventListene...

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

855. laya.d3.core.light.SpotLight [ 53%]

...l Classes | Index | Frames No Frames SpotLightProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class SpotLightInheritanceSpotLight LightSprite Sprite3D Node EventDispatcher Object SpotLight 类用于创建聚光。 Public Properties Hide Inherited Public Properties Show Inhe...

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

856. Clip切片动画有无播放完成的回调方法?有无检测播放次的方法? [ 53%]

...如下方法,但是没有效果,求解。 this.clip_wpLevelup.on(Laya.Event.STOPPED, this, this.stopAndShowLvupResult); 2018-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: http:/...

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

857. popup设置了关闭效果后,窗口关闭但遮罩层没有关掉,请问如何处理 [ 53%]

...Effect = Laya.Handler.create(this, this.hideEffect); this.btnClose.on(Laya.Event.CLICK, this, this.closeDialog); } //关闭 closeDialog(): void { this.close(); } //关闭效果 hideEffect(): void { Laya.Tween.to(this,{y:Laya.stage.height,alpha:0},200,Laya.Ease.linearIn); } //显示效果 showEffect(...

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

858. laya.ui.FrameClip [ 53%]

...l Classes | Index | Frames No Frames FrameClipProperties | Methods | Events Packagelaya.uiClasspublic class FrameClipInheritanceFrameClip FrameAnimation AnimationPlayerBase Sprite Node EventDispatcher Object 关键帧动画播放类 Public Properties Hide Inherited Public Properties Show Inhe...

来源: laya_api 发布时间: 20170422

859. 加载SK文件时,报错如下:Uncaught getUint16 error - Out of bounds [ 53%]

... getUint16 error - Out of bounds var roleTemp = new Templet(); roleTemp.on(Event.COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/eff...

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

860. 图片居中的问题 [ 53%]

... new Laya.Sprite(); bg.loadImage("res/bg-480x720.jpg"); Laya.stage.on(Laya.Event.RESIZE,this,onResize);   function onResize() {     var scale,scaleX,scaleY;     scaleX = Browser.clientWidth/480;     scaleY = Browser.clientHeight/720;     scale = scaleX > scaleY ? scaleX : scaleY;     b...

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