 import flash.geom.Rectangle;
 import flash.net.URLRequest;
 import flash.system.ApplicationDomain;
+import flash.system.Capabilities;
 import flash.system.LoaderContext;
 import flash.utils.ByteArray;
 
+import mx.core.FlexGlobals;
 import mx.core.IInvalidating;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;

        if (contentLoader)
        {
            // We defer our load request to the configured content loader.
            var contentRequest:ContentRequest = contentLoader.load(source, contentLoaderGrouping);
            
            if (contentRequest.complete)
            {
                // No need to attach listeners as we've received a fully complete

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

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