QuickImage is a simple class that wraps OSMF objects to simplify external image loading, and adding to the display list, similar to HTML’s img tag. You can either pass the URL in the constructor, setter, or load method. Nice & easy.


import com.leefernandes.media.QuickImage;
var img:QuickImage = new QuickImage();
img.url = 'http://www.opensourcemediaframework.com/images/Title.gif'
img.load();
addChild(img);

download: http://blog.leefernandes.com/share/QuickImage.zip
example:


Get Adobe Flash player

This page requires Flash Player version 10.1.0 or higher.