Im developing an app and I am looking for a way to take a screenshot, open the mail client, and attach the screenshot.
To get a screenshot on PC I am aware that I can use;
var myBitmapData:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight);
but I am at a loss as to how to attach it to an email using any available mail client.
My other thought was that when the user clicks the "send as attachment" button, it would take a screenshot, request the destination address and then send the screenshot to a php formhandler on my server and then this would use the entered email address and the sending address. Would this be a viable option? again...i am a bit at a loss as to how I would go about this!
I will eventually be needing it to work on iOS, and PC / Mac, but atm I will settle for either.
This can help you for iOS:
This may help in AIR, old but possible: