Thanks to everyone who pointed out the bitmapData.draw() method!

I had seen that in passing but didn't realize that IBitmapDrawable supported
all display objects.

Thanks folks--that should do nicely.

Doug

-----Original Message-----
From: Hans Wichman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 21, 2007 8:48 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Anyway way to capture a SWF as a bitmap?

Hi,
you mean something like this:
var bitmapData1:BitmapData =
new BitmapData(200, 200, false, 0x000000); bitmapData1.draw(myMC,new
Matrix());

?
greetz
JC


On 3/21/07, Douglas Pearson <[EMAIL PROTECTED]> wrote:
>
> Anyone know if there's a way to draw the contents of a SWF to a 
> Bitmap/BitmapData object within Flash?
>
> I have a SWF that involves lots of complex rendering steps and I want 
> to be export it as a bitmap.  The export part should be fine (using a 
> server to actually save the file) if I can figure out how to get it 
> into a BitmapData object so I can call getPixels() on it.
>
> Anyone have any ideas?
>
> Doug
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
>


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to