 import spark.layouts.HorizontalAlign;
 import spark.layouts.VerticalAlign;
 import spark.primitives.supportClasses.GraphicElement;
+import spark.utils.MultiDPIBitmapSource;
 
 use namespace mx_internal;
 

     */
    override protected function measure():void
    {   
        if (loadedContent)
        {
            // Return size of our loaded image content.
            measuredWidth = imageWidth;
            measuredHeight = imageHeight;
        } 
        else if (_bitmapData)
        {
            // Return size of our bitmap data.
            measuredWidth = _bitmapData.width;
            measuredHeight = _bitmapData.height;
        }
        else
        {

import mx.graphics.BitmapScaleMode;
import mx.graphics.BitmapSmoothingQuality;
import mx.utils.LoaderUtil;
import mx.utils.DensityUtil;

import spark.core.ContentRequest;
import spark.core.DisplayObjectSharingMode;
