View Full Version : is this at all possible? (saving out)
thesquirrel
07-08-2005, 02:49 PM
Hi
I was wondering whether it is possible to somehow save a dynamically created swf either as a swf or an illustrator file or something.
For instance if I created a Flash based paint application, I would like the user to be able to save their painting as a single file either on my server or even on their computer.
Thanks
sleekdigital
07-09-2005, 06:57 PM
There are a number of approaches you might take.
In a similar project, I am saving data as XML to my server (you could use a local shared object to save to local computer). The data represents all the movieclips and thier properties, so that thier "drawing" can be recreated when requested.
Another option would be to send data about the drawing to a server script that can somehow recreate it as a swf or other format.
thesquirrel
07-11-2005, 02:41 PM
Hi
Thanks for your reply.
I was sort of aware of the first option and it's not much good to me as I want to produce an easily portable file that I can give to the printers.
But I take it from the second option that there are server side scripts that could convert a dynamically created swf to an illustrator file or a self contained swf?
Would you know where I would start looking for such scripts?
Thanks again
sleekdigital
07-11-2005, 02:49 PM
I don't know that such scripts exist, but I see no reason why it wouldn't be possible. You would have better luck with swf format since it is open. Another option is to use something like PHP or ASP.NET to make a raster format image (bmp or jpg for example). Both PHP and ASP.NET have decent image creation/manipulation facilities available.
thesquirrel
07-11-2005, 05:19 PM
thanks alot, ill check it out
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.