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

        
        useChromeColor = true;
        
        switch (authorDensity)
        {
            case DeviceDensity.PPI_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.DPIClassification;
import mx.core.mx_internal;
import mx.events.FlexEvent;

