Rotate a VBox
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> private function applyEffect(event:Event):void { rotateEffect.target = event.currentTarget; rotateEffect.originX = event.currentTarget.width / 2; rotateEffect.originY = event.currentTarget.height / 2; rotateEffect.play( ); } </mx:Script> <mx:Rotate id="rotateEffect" /> <mx:VBox id="vbox" x="400" y="400" clipContent="false" creationComplete="applyEffect(event)"> <mx:TextInput id="textInput1" /> <mx:TextInput id="textInput2" /> <mx:TextInput id="textInput3" /> <mx:TextInput id="textInput4" /> </mx:VBox> </mx:Application>