Problem in Creating textfield dynamically and rotating it

Hi,
I am creating a textfield dynamically and painting values in to it,i want to further customize position of the textfield by rotating it from horizontal to vertical.
Can anybody please help me out on this.
this is a brief code:

ActionScript:--------------------------------------------------------------------------------this.createTextField(“tfNewfield”,1,10,10,150,30);
tfNewfield.text = “Here’s some text”;
tfNewfield.textColor = 0x00cc00;
tfNewfield.border = true;
tfNewfield.autoSize = true;
tfNewfield2.embedFonts = true

thanks in advance

Place the textfield inside a movieclip and rotate the movieclip.[AS]this.createEmptyMovieClip(“t”, 1);
t.createTextField(“tfNewfield”, 1, 0, 0, 0, 0);
with (t.tfNewfield) {
autoSize = true;
border = true;
embedFonts = true;
textColor = 0x00cc00;
text = “Here’s some text”;
tf = new TextFormat();
tf.font = “Verdana”;
setTextFormat(tf);
}
t._rotation = 270;[/AS]