I believe support for "imageDecodingPolicy" was added to FP 11: http://www.adobe.com/devnet/articles/flashplayer-air-feature-list.html http://help.adobe.com/en_US/as3/dev/WS52621785137562065a8e668112d98c8c4df-8000.html http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/LoaderContext.html#imageDecodingPolicy
--Dasa On Sep 15, 2013, at 2:21 AM, Justin Mclean <jus...@classsoftware.com> wrote: > Hi, > > In fixing FLEX-33728 adding support for imageDecodingPolicy which only exist > on AIR, I did this: > > if (imageDecodingPolicy in loaderContext) > loaderContext.imageDecodingPolicy = > imageDecodingPolicy; > > Is there a better way to detect if the SDK is being used in AIR? > > Thanks, > Justin > > > >