Flash / Flex / ActionScript/TextField/rotation
Rotated, Skewed, and Transparent Text Requires Embedded Fonts
package{
import flash.display.Sprite;
import flash.text.*;
public class Main extends Sprite{
public function Main(){
var t:TextField = new TextField( );
t.text = "Hello world";
t.rotation = 30; // Rotate text
addChild(t);
}
}
}
Setting a TextField"s Scaling and Rotation
package{
import flash.display.Sprite;
import flash.text.*;
public class Main extends Sprite{
public function Main(){
var txt:TextField = new TextField();
txt.scaleX = 2;
txt.autoSize = "left";
addChild(txt);
txt.text = "politician";
}
}
}