 import flash.events.Event;
 import flash.events.FocusEvent;
 
+import flashx.textLayout.elements.TextFlow;
 import flashx.textLayout.events.SelectionEvent;
 import flashx.textLayout.formats.LineBreak;
 

     */
    public function set maxChars(value:int):void
    {
        if (textView)
        {
            textView.maxChars = value;
            textViewProperties = BitFlagUtil.update(
                uint(textViewProperties), MAX_CHARS_PROPERTY_FLAG, true);
        }
        else
        {
            textViewProperties.maxChars = value;
        }

        invalidateProperties();            

     */
    public function set restrict(value:String):void
    {
        if (textDisplay)
        {
            textDisplay.restrict = value;
            textDisplayProperties = BitFlagUtil.update(
                uint(textDisplayProperties), RESTRICT_PROPERTY_FLAG, true);
        }
        else
        {
            textDisplayProperties.restrict = value;
        }

        invalidateProperties();            
