I have downloaded the source file for the Export JPEG with Flash/PHP sample from [color=#800080]http://www.sephiroth.it/tutorials/flashPHP/print_screen/[/color] . What this script does is it lets you print the flash screen you have using the new flash.display.BitmapData class.
I was able to run it on my server however I also want to be able to save the jpg image that it generates on a folder on my server. What I did is I added a an image file name in the imagejpeg() function
imagejpeg($img, “filename.jpg”, 90);
The image is being saved on my server however, now the image is not being displayed on the browser. Both on IE and Firefox.
I hope someone has the answer on this.