Quantcast
Channel: Subash Selvaraj
Viewing all articles
Browse latest Browse all 8

SAVE IMAGE FROM FLASH AS2 PROJECT USING FLASH AS3 AND PHP

$
0
0
There are lot of image capture scripts out there in AS2 but, when we try to capture large images using AS2 it becomes horrible due to huge memory utilization. This is due to pixel by pixel RGB value collection process of AS2.

When I was into a project development, I suppose to do the image saving process much quicker. So I found a method to achieve that by creating a container in AS3 and loading AS2 swf  inside that to save the image much more faster.

This way I was successful in creating Image faster than AS2.

Here you go for the source https://github.com/sesubash/SAVE_IMAGE_FROM_AS2_PROJECT_USING_AS3_AND_PHP

Instructions:
In the save.html file I have embedded AS3 swf  using swfobject, passed the AS2 file name, image name to be saved and save php script(create.php in this case).

Find the flash source files inside the folder. You  can change the dimension of the rectangular area to be captured according to your project requirement in the file Main.as in the location SaveJpeg/Main.as.

Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles



Latest Images