class Layer extends eui.Component { public constructor() { super(); this.addEventListener(eui.UIEvent.COMPLETE, this.uiCompHandler, this); this.skinName = "resource/UI/action.exml"; this.name = "HallSceneLayer"; } private act: egret.tween.TweenGroup; public uiCompHandler() { this.act.play(); } }