             dpi = DensityUtil.getRuntimeDPI();
         return values.getSource(dpi);
     }
+	
+	
+	/**
+	 * @private
+	 * Returns true if current Flash Player/Air supports image decoding policy.
+	 */
+	protected function hasImageDecodingPolicy(loaderContext:LoaderContext):Boolean {
+		// true for one it's true for all
+		if (!_haveCachedImageDecodePolicy) {
+			_cachedImageDecodePolicy =  ("imageDecodingPolicy" in loaderContext);
+			_haveCachedImageDecodePolicy = true;
+		}
+		
+		return _cachedImageDecodePolicy;
+	}
 
     /**
      *  @private

import flash.net.URLRequest;
import flash.system.ApplicationDomain;
import flash.system.Capabilities;
import flash.system.ImageDecodingPolicy;
import flash.system.LoaderContext;
import flash.utils.ByteArray;


        var loader:Loader = new Loader();
        var loaderContext:LoaderContext = new LoaderContext();
		
		if (hasImageDecodingPolicy(loaderContext))
			loaderContext["imageDecodingPolicy"] = imageDecodingPolicy;
		
        loadingContent = loader.contentLoaderInfo;
        attachLoadingListeners();
