 import mx.core.IFlexModuleFactory;
 import mx.core.IUIComponent;
 import mx.core.IUITextField;
+import mx.core.LayoutDirection;
 import mx.core.UIComponent;
 import mx.core.UITextField;
 import mx.core.UITextFormat;

        var showLabelsStyle:Object = getStyle("showLabels");
        var showLabels:Boolean = showLabelsStyle != false &&
                                 showLabelsStyle != "false";
        
        if (showLabels == false)
        {

                    labelData.instance = _labelCache.instances[visCount++];
					var label:Object = labelData.instance;// as Label;
                    label.text = labelData.text;
					if(sparkLabelClass && labelData.instance is sparkLabelClass)
					{
						label.setStyle("paddingTop", 5);
						label.setStyle("paddingLeft", 2);
					}
                    labelData.instance.width = labelData.width;
                    labelData.instance.height = labelData.height;
                }
