"screenshot" with bitmapData.draw and fileReference.save?
I made this dress-up type game, and have been trying to figure out how to let the user save an image of their creation.
I've been researching and figured out I need to use bitmapData.draw and fileReference.save in the actionscript somewhere.
The only problem is I want this to be a standalone .swf if possible. The 'game' is here.
This is part of my code:
saveMe.addEventListener(MouseEvent.CLICK, saveChar);
function saveChar(evt:MouseEvent) {
//what goes here? help please!
}
saveMe is the movieclip 'button' the user clicks on to launch the save dialog.