0 Replies Latest reply on Jun 11, 2009 5:52 PM by Glenn Ruehle

    [svn:fx-trunk] 7775: Add support for external images to BitmapImage.

    Glenn Ruehle Adobe Employee

      Revision: 7775

      Author:   gruehle@adobe.com

      Date:     2009-06-11 17:51:45 -0700 (Thu, 11 Jun 2009)


      Log Message:


      Add support for external images to BitmapImage.


      • Load external JPG, PNG, and GIF images (SWF loading not supported)

      • External images need to be on the same server as the application, or have an appropriate crossdomain.xml file on the server.

      • When loading an external image, keep the current image displayed until the external image is loaded. This allows a local proxy image to be used while the external image is loading.

      • Events for ioError and securityError. BitmapImage will not automatically show a broken image icon. If you want one, handle these events and set the source to a broken image.


      Note: setting BitmapImage.source to the name of a class (type String) is no longer supported. You can still use a class reference (type Class).


      Bugs: SDK-21757

      QA Notes: Tests need to be added

      Doc: Yes

      Reviewer: Jason


      Ticket Links:




      Modified Paths: