I'm still new to flash and flex. I have a png that I'm using defined like this
private var pngGreenSpot:Class;
Is there a way to get the bitmapData from that?
Var bm:Bitmap = new pngGreenSpot;
Var bitmapData:BitmapData = bm.bitmapdata;
Turned out to be not exactly what I wanted but it's close enough.