bitmap data as movie clip

Posted by Ross on Stack Overflow See other posts from Stack Overflow or by Ross
Published on 2010-04-13T17:20:24Z Indexed on 2010/04/13 17:23 UTC
Read the original article Hit count: 551

Filed under:
|
|
|

Hi,

I import my images with

imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete); imageLoader.load(imageRequest);

and then try and cast as a movieclip:

var newImage:MovieClip = imageLoader.content as MovieClip; addChild(newImage);

i keep getting errors, is this possible?

Thanks,

Ross

© Stack Overflow or respective owner

Related posts about bitmapdata

Related posts about assets