I have found the Code on http://designreviver.com/tutorials/actionscript-3-jpeg-encoder-revealed-saving-images-from-flash/, but if I want to do it with PNG and Transparency the background is always white. I use the PNGEncoder and have set wmode to transparent.
what have I missed?
