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.
"My Image.jpg" gets converted to "MyImage".

  1. var imageRef:BitmapData = new MyImage();
  2. var img:Bitmap = new Bitmap( imageRef );
  3. 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