         
         useChromeColor = true;
         
-        switch (authorDensity)
+        switch (applicationDPI)
         {
-            case DeviceDensity.PPI_320:
+            case DPIClassification.DPI_320:
             {
                 upBorderSkin = spark.skins.mobile320.assets.Button_up;
                 downBorderSkin = spark.skins.mobile320.assets.Button_down;

import flash.display.DisplayObject;
import flash.display.Graphics;

import mx.core.DeviceDensity;
import mx.core.mx_internal;
import mx.events.FlexEvent;


                
                break;
            }
            case DPIClassification.DPI_240:
            {
                upBorderSkin = spark.skins.mobile240.assets.Button_up;
                downBorderSkin = spark.skins.mobile240.assets.Button_down;
