             _imageCache.enableCaching = true;
             _imageCache.maxCacheEntries = 100;
         }
+        
+        addEventListener(FlexEvent.MEASURED_SIZE_PRELIMINARY, measuredSizePreliminaryHandler);
     }
     
     //--------------------------------------------------------------------------

        }
    }
    
}
    
}
import mx.core.UITextField;
import mx.core.UITextFormat;
import mx.core.mx_internal;
import mx.events.FlexEvent;
import mx.graphics.BitmapFillMode;
import mx.graphics.BitmapScaleMode;
import mx.styles.CSSStyleDeclaration;
