レイヤーの構造はこんな感じ

フレームアクションはこんな感じ
/** * クリック * * @param e - イベント */ function onClick(e:MouseEvent):void { var sp:Sprite = new Sprite(); sp.graphics.beginFill(0xff0000); sp.graphics.drawRoundRect(10, 60, 200, 200, 20); sp.graphics.endFill(); addChild(sp); } stage.addEventListener(MouseEvent.CLICK, onClick);