From the category archives:

PNGEncoder

The following example shows how you can set the ImageSnapshot class’s static defaultEncoder property in Flex 3 to set a default image encoder for captured images.

Full code after the jump.

[click to continue…]

{ 6 comments }

The following example shows how you can use the ImageSnapshot class to capture images as JPEGs or PNGs by setting the encoder parameter in the ImageSnapshot class’s static captureImage() method in Flex 3.

Full code after the jump.

[click to continue…]

{ 5 comments }