 import flash.events.KeyboardEvent;
 import flash.events.TextEvent;
 import flash.geom.Matrix;
+import flash.geom.Matrix3D;
 import flash.geom.Point;
+import flash.geom.Vector3D;
 import flash.text.Font;
 import flash.text.TextField;
 import flash.text.TextFieldType;

            // ignore padding in the text...most components deal with it themselves
            //textFormat.leftMargin = getStyle("paddingLeft");
            //textFormat.rightMargin = getStyle("paddingRight");

            // Check for embedded fonts
            embedFonts = isFontEmbedded(textFormat);
            

    {
        setSelection(0, length);
    }
    
    /**
     *  Set focus to this text field.
     * 
