Copy link to clipboard
Copied
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:
************
http://bugs.adobe.com/jira/browse/SDK-21757
Modified Paths:
**************
flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/BitmapImage.as