Quantcast
Channel: Flex Examples » ImageSnapshot
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Taking 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 Article

Image may be NSFW.
Clik here to view.

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. View MXML...

View Article

Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

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. View MXML...

View Article


Image may be NSFW.
Clik here to view.

Saving 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
Browsing latest articles
Browse All 6 View Live




Latest Images