 
         if (!label)
         {
-            label = UITextField(createInFontContext(UITextField));
+            label = IUITextField(createInFontContext(UITextField));
             label.styleName = this;
-            addChild(label);
+            addChild(DisplayObject(label));
         }
     }
 


import flash.events.KeyboardEvent;
import flash.filesystem.File;
import mx.controls.DataGrid;
import mx.controls.dataGridClasses.DataGridColumn;
import mx.controls.fileSystemClasses.FileSystemControlHelper;
import mx.core.ClassFactory;
import mx.core.mx_internal;
import mx.core.ScrollPolicy;
import mx.events.ListEvent;
import mx.formatters.DateFormatter;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
import mx.utils.DirectoryEnumeration;

use namespace mx_internal;


import mx.core.UIComponent;
import mx.core.UITextField;
import mx.events.FlexEvent;
import mx.core.IUITextField;

////////////////////////////////////////////////////////////////////////////////
//
