• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

Adobe Employee ,
Jun 11, 2009 Jun 11, 2009

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

TOPICS
Commits

Views

222

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines