Skip to content

braitsch/as3-bitmap-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##AS3 Bitmap Snapshot

####A simple utility class to draw any DisplayObject to an .png or .jpg Also includes a sample php script that you can use to upload and save it to a server.


Example Usage

private function saveToDesktop():void
{    
var img.BitmapSnapshot = new BitmapSnapshot(displayObject, filename);
    img.saveToDesktop();
}
 
private function saveOnServer():void
{
var img:BitmapSnapshot = new BitmapSnapshot(displayObject, filename);
    img.saveOnServer(phpscript, destinationOnServer);
}

Live Demo & More Information Here.

This repository contains the full source for the demo on my website, the actual BitmapSnaphot class is located here.

About

Save any Sprite or MovieClip to an image and upload it to a server with php.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages