大约有 47 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
...MovieClip; s.on(Event.ERROR,this,ddddd); s.load("D:/thisisnothing.swf"); } <em>privateem> function ddddd(e:* = null){ trace("dddd"); } } 附件 : --> 2017-01-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知...
来源: Laya_社区 发布时间: 20170105
... 动画是否出于播放状态 */ isPlayIng:boolean = false /** 空格 */ <em>privateem> space:string = "<span> </span>" constructor() { super() this.width = 1200 this.height = 55 this.visible = false this.pos(565,150) this._createHorn() this....
来源: Laya_社区 发布时间: 20180314
...rt laya.utils.Handler; import laya.webgl.WebGL; public class LayaAirDemo { <em>privateem> const AniConfPath:String = "fighter/fighter.json"; public function LayaAirDemo() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN...
来源: Laya_社区 发布时间: 20170628
...讯*/ export class Socket extends Laya.EventDispatcher { <em>privateem> pomelo: Pomelo; <em>privateem> mDecorate:Decorate;//装饰器 <em>privateem> mHost: string; <em>privateem> mPort: number; <em>privateem> mConnected: boolean; /** 开启*/ pu...
来源: Laya_社区 发布时间: 20161109
...s://my.oschina.net/u/659068/blog/1564002 class Ball extends Laya.Sprite{ <em>privateem> static cached:boolean = false; <em>privateem> body:Laya.Sprite; constructor(){ super(); this.init(); } public init():void{ if(!Ball.cached){ Ball.cached = true; this.body = new Laya.Sprite(); this.body.loadImage("war/ball.pn...
来源: Laya_社区 发布时间: 20171108
..., true, false); Laya.stage.on(Event.MOUSE_WHEEL,this,this.onMouseWheel); } <em>privateem> onMouseWheel(e:Event):void { e. //没有delta 属性 } } } new laya.Interaction_Scale(); cuixueying • 2017-03-21 15:58 你的d.ts提示文件有问题,去下载最新的替换下!
来源: Laya_社区 发布时间: 20170321
...]; /** 纪录鼠标按下状态,true为已按下,用于状态判断 */ <em>privateem> mouseDown: boolean = false; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1334, 750, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode =...
来源: Laya2.0_示例 发布时间: 20251130
...dle size 10479616, width 1080, height 2408, stride 4352, fd 8, format: <<em>privateem>>, phy 0x0, usage 0xb, viraddr 0x0000000000000000 01-06 17:34:41.531 902 1210 I C01401/Bufferqueue: <163>Alloc: buffer handle size 10479616, width 1080, height 2408, stride 4352, fd 106, transform 0 01-06 17:3...
来源: Laya_社区 发布时间: 20250106
drawToTexture截大图有问题,会丢失 <em>privateem> nsp:Laya.Sprite; init(): void { this.nsp=new Laya.Sprite(); this.nsp.graphics.drawRect(0,0,1600,1600,"#ff0000"); this.nsp.mouseThrough=true; Laya.stage.addChild(this.nsp); this.nsp....
来源: Laya_社区 发布时间: 20220809
...) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } <em>privateem> function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onSwfLoad...
来源: Laya_社区 发布时间: 20151224