Determine Easily What Image Formats the Target Device Supports

Posted by druva | Flash, as2, as3, utils | Tuesday 22 December 2009 1:12 am

You can check before loading the image with System.capabilities

if (System.capabilities.imageMIMETypes["image/png"]) {
 loadMovie("images/image.png", "mc_myPngImage");
}