 
 import flash.events.Event;
 
+import mx.core.DeviceDensity;
+
 import spark.components.TextInput;
-import spark.skins.mobile.supportClasses.MobileSkin;
 import spark.skins.mobile.supportClasses.TextSkinBase;
 import spark.skins.mobile160.assets.TextInput_border;
 import spark.skins.mobile240.assets.TextInput_border;

        
        useChromeColor = false;
        
        switch (targetDensity)
        {
            case MobileSkin.PPI240:
            {
                borderClass = spark.skins.mobile240.assets.TextInput_border;
                layoutCornerEllipseSize = 16;

            textDisplay.text = "Wj";
            textDisplay.commitStyles();
            
            // FIXME (jasonsj) use measuredHeight
            // textHeight = textDisplay.measuredHeight;
            textHeight = textDisplay.textHeight;
            textDisplay.text = oldText;
        }
