[flashpro] flash image output

Timo Stamm t.stamm at macnews.de
Thu Jan 27 18:05:32 EST 2005


Jason,


if the project is a website using Flash:

Your client side app has to send the description of its current state 
and contents to the server. Then you repeat every step on the server to 
generate the document and send it back in the response.

You could use PHP and the gd lib (or similar), but then you are awaiting 
a serious lot of work because you have to build the image from scratch. 
Every change in the client side swf ("we want this dot to be green") has 
to be reflected on the server side.

A more advanced option is to use SVG (or similar): You have to write a 
SVG document object model in AS and create all graphics on the client 
side using this DOM (I admit that's a serious lot of work as well). The 
SVG document is sent to the server which converts the document into an 
image using ImageMagick or similar.


If it is a kiosk system:

Just make a screenshot and crop it.


If you can use the shockwave plugin:

You can embed flash movies in shockwave, and I have heard it is easy to 
create an image from the contents.


Anyway, as long as you find someone to make the screenshots for you, 
Mikes idea is my favorite. You could add text to the screenshots using 
the gd lib (or similar).


Hth,
Timo


More information about the FlashPro mailing list