// write as3 code here.. package { import flash.display.*; import flash.text.*; import flash.events.*; [SWF(width="465", height="465", backgroundColor="0xFFFFFF", frameRate="60")] public class HelloWonderfl extends Sprite { private var _txt:TextField; public function HelloWonderfl() { super(); _txt = new TextField(); _txt.text = "Hello Wonderfl"; this.addChild(_txt); _txt.autoSize = "left"; _txt.x = stage.stageWidth/2; _txt.y = stage.stageHeight/2; _txt.scaleX = _txt.scaleY = 2; this.addEventListener(Event.ENTER_FRAME, enterframeHandler); } public function init():void { } private function enterframeHandler(e:Event):void { _txt.rotationY += 1; _txt.rotationX += 1; _txt.rotationZ += 1; } } } Hello Wonderfl