View Full Version : Capturing SWF screen and saving a JPG to send it by email
CayoHueso
April 7th, 2009, 09:08 PM
Hi all,
Could anyone please help me? I am trying to create a Flash movie that allows me to click a button and capture a specific moment in the movie, convert it to a JPG and send it by email.
Thanks,
CH
sekasi
April 7th, 2009, 10:06 PM
You have any actual questions in there apart from 'make this code for me', which, incidentally, is pretty rude ?
CayoHueso
April 7th, 2009, 10:14 PM
Interesting response, sekasi. I wasn't actually asking for the code to make it happen, but for some recommendations on where to look for information that could help me. Good for you, though, for having the knowledge and the good heart to respond so nicely.
sekasi
April 7th, 2009, 10:16 PM
Yeah I'm sure. :violin:
darnpunk
April 8th, 2009, 04:15 AM
The last time I tried this I had to capture whatever I want on stage to a bitmap, go through each pixel of the bitmap and get its RGB, compiled it to an array, send it to the server, convert it back to a bitmap using PHP and save it. That's what I can recall.
andalusite
April 8th, 2009, 06:50 AM
I have seen example code for capturing jpg in "Learning Actionscript 3.0" by Shupe & Rosser. It requires an additional JPEG encoder available from Adobe or Google.
I have not tried it!
CayoHueso
April 8th, 2009, 09:43 AM
Hi, thanks for your comments. I found a couple of websites with samples/tutorials that could be helpful:
http://henryjones.us/articles/using-the-as3-jpeg-encoder
http://www.quasimondo.com/archives/000645.php
darnpunk
April 8th, 2009, 10:18 PM
Thanks for sharing!
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.