Link to home
Start Free TrialLog in
Avatar of chevronrod
chevronrodFlag for United States of America

asked on

How to send screen snapshot or flash page in an email--Flash CS3 and AS2

I have a quiz with a final page that shows the results. I would like theirscore sent to me via an email link button. Ascreen shot of the scoring page would be nice because the quiz taker couldn't then easily change the quiz results but perhaps I can figure out how to store the score in a file and then attach the file .

I have the button and it brings up the email program, so no problem there. But of course it's just a blank email--there is no information on it about the quiz results.

Any help?

(Flash CS3 and AS2)
Avatar of deepanjandas
deepanjandas
Flag of India image

Follow this method:
On clicking on the button, take a snapshot using the BitmapData class and send the data to any backend program (like PHP) to save it as jpg, Do not forget to send the unique name of the file from flash itself. after saving, the backend program will send an email with the link of the image from the server.

Here is a nice tutorial by Quasimondo about saving image from flash AS2 to server using PHP.

Warm Regards
Deepanjan Das

Avatar of chevronrod

ASKER

Thanks for the offering. I'm afraid it's not going to work well for me. I'll explain from easiest to hardest to resolve.

1.  This application will be placed on client computers around the nation. I don't know if they are running servers or if they are, servers with PHP. I expect it is VERY likely they are. But it's uncertain. A small problem to get around, for sure.
2.  I am on the learning curve with Flash. I'd say I'm somewhere in the 40-50% of the users but gaining experience daily. Classes are not foreign to me but neither are they roommates. I could probably muddle my way through classes. So, again, not a big obstacle but potentially a time-user.
3.  If I were to use Quasimodo's code I would have to introduce a credit line. I'm not against credit line but with branding taking priority over what I have producing, a credit line will not work very well for me at all.  OR I could pay the 350 euro fee for the code (approx. $500). THAT one IS insurmountable.

None of this discounts your answer, of course. It would be a safer bet for me to play at the Casino all morning than to bet against the fact that there someone out there being able to make good use of your reply.

For now I'll have to lean back in my chair and wait for a simpler solution. :|
ASKER CERTIFIED SOLUTION
Avatar of deepanjandas
deepanjandas
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial