First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Nuno Mira | Website:

Image Generation with AS3 and PHP

Minimum Flash version:

ActionScript version:

Accompanying thread:

Available for download here

Other requirements:
A PHP enabled server
Base64 encoding library (e.g.: this one).
JPG encoding library (e.g.: the one available in the AS3CoreLib)

What you'll learn:

You'll learn how to capture an image, a screen shot of a MovieClip in your Flash Application as BitmapData.
You'll learn how to encode this BitmaData properly in order to send it to the PHP Script that will generate and save the JPG image on your server.


You have a drawing application for a contest and you want to save each participation and post it to Facebook.
You have an image manipulation application and the final image can be saved on the server or sent via email.

» Level Intermediate

Added: 2011-03-31
Rating: 2.75 Votes: 4
(10 being the highest)
» Author
Nuno Mira has been a Flash Developer for 9 years. He loves teaching, and learning. When he isn't coding he may be surfing or snowboarding.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.