     }
 
 
-    public function leftMargin(newLeftMargin:int):TextFieldBuilder
+    public function leftMargin(newLeftMargin:Number):TextFieldBuilder
     {
         _leftMargin = newLeftMargin;
         return this;
     }
 
 
-    public function rightMargin(newRightMargin:int):TextFieldBuilder
+    public function rightMargin(newRightMargin:Number):TextFieldBuilder
     {
         _rightMargin = newRightMargin;
         return this;

    }


    public function indent(newIndent:int):TextFieldBuilder
    {
        _indent = newIndent;
        return this;


    private function createTextFormat():TextFormat
    {
        var tf:TextFormat = new TextFormat(_font, _fontSize, _color, _bold,
                _italic, false, null, null, _align, _leftMargin,
                _rightMargin, _indent, _leading);

