Tag Archive for 'encodeimageasbase64()'

08
Dec

Setting a default encoder for the ImageSnapshot class in Flex 3

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.

Continue reading ‘Setting a default encoder for the ImageSnapshot class in Flex 3′

07
Dec

Converting an ImageSnapshot object into a Base-64 encoded string in Flex 3

The following example shows how you can convert an ImageSnapshot object into a Base-64 encoded string using Flex 3’s cleverly named encodeImageAsBase64() method.

Full code after the jump.

Continue reading ‘Converting an ImageSnapshot object into a Base-64 encoded string in Flex 3′