             tf.defaultTextFormat = createFormat(formatProps);
         }
         updateText(tf, text);
+        setFocusable(tf);
 
         return tf;
     }


    /**
     * Create a TextField.
     *
     * @param initProps contains properties with which to initialize the TextField.
     * Additionally it may contain the following properties:

            field.width = field.textWidth + WIDTH_PAD;
            field.height = field.textHeight + HEIGHT_PAD;
        }
    }

    /**
     * Add a special MouseEvent.CLICK listener so that the specified field is focusable
     * even inside a security boundary.
     */
    public static function setFocusable (field :TextField) :void
    {
        field.addEventListener(MouseEvent.CLICK, handleFieldFocus);
    }

    /**
