Setting a TextField's Scaling and Rotation : rotation « TextField « Flash / Flex / ActionScript






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";

    }
  }
}

        








Related examples in the same category

1.Rotated, Skewed, and Transparent Text Requires Embedded Fonts