Mega Code Archive

 
Categories / Flash ActionScript / TextField
 

Text field is skewed

package{   import flash.display.Sprite;   import flash.text.*;   import flash.geom.Matrix;   public class Main extends Sprite{     public function Main(){         var t:TextField = new TextField(  );         t.text = "Hello world";         t.transform.matrix = new Matrix(1, 1, 0, 1);  // Skew text         addChild(t);     }   } }