         
         useChromeColor = false;
         
-        switch (authorDensity)
-        {
-            case DeviceDensity.PPI_320:
+        switch (applicationDPI)
+        {
+            case DPIClassification.DPI_320:
             {
                 borderClass = spark.skins.mobile320.assets.TextInput_border;
                 layoutCornerEllipseSize = 24;

                
                break;
            }
            case DeviceDensity.PPI_240:
            {
                borderClass = spark.skins.mobile240.assets.TextInput_border;
                layoutCornerEllipseSize = 12;


import flash.events.Event;

import mx.core.DPIClassification;
import mx.core.UIComponentGlobals;
import mx.core.mx_internal;
import mx.events.FlexEvent;
