PDA

View Full Version : BitmapData of on-stage image?



bhnh
November 22nd, 2008, 03:03 PM
If I have a bitmap, let's say a .png, on the Stage at compile time (as opposed to instantiating it), is there a way to access the .png's BitmapData? Many thanks.

theCodeBot
November 22nd, 2008, 03:23 PM
yourBitmapData.draw("Any displayObject that you can pass a reference to");

bhnh
November 22nd, 2008, 03:39 PM
Cool. Thank you.