Taking screenshots in Flex 3 using the ImageSnapshot.captureImage() method
The following example shows how you can use the static captureImage() method in the mx.graphics.ImageSnapshot class to take a screenshot of an item on the display list, convert it into a ByteArray, and...
View ArticleTaking screenshots in Flex 3 using the ImageSnapshot.captureBitmapData() method
As we saw in a previous entry, “Taking screenshots in Flex 3 using the ImageSnapshot.captureImage() method”, it is possible to take a screenshot of an item on the display list using the static...
View ArticleConverting 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. View MXML...
View ArticleUsing the ImageSnapshot class to capture images as JPEGs or PNGs in Flex 3
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...
View ArticleSetting 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. View MXML...
View ArticleSaving files locally using the FileReference class’s save() method in Flash...
The following example shows how you can use the FileReference class’s new save() method in Flash Player 10 to save text, XML, and image files to a user’s hard drive. The following example(s) require...
View Article
More Pages to Explore .....