Skip to content

Library – Link Image

by Colin on January 24th, 2011

A JSFL command that uses a stripped down version of the file name as it's Class name.
Example:
"My Image.jpg" gets converted to "MyImage".

var imageRef:BitmapData = new MyImage();
var img:Bitmap = new Bitmap( imageRef );
addChild( img );

Download here.

From → Flash

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS