J- In your application, was the image generated as part of a single call to the server? Or did you have some other way of notifying the client-side app that the image had been generated on the server? Also, what server-side language did you use? Thanks again!
LT --- In [email protected], Jamie S <jsjph...@...> wrote: > > I was in a similar boat, having to generate an image server-side to > that matches what the user sees in a flash movie client-side. > Unfortunately there is no command-line version of Flash but AIR is > almost as good. You can launch an AIR app from the command-line on the > server and pass it in your data as command-line arguments. When > finished the AIR app can save the image to the file system and > terminate. > > J > > On Mon, May 4, 2009 at 3:17 PM, lagos_tout <lagos.t...@...> wrote: > > > > > > Hi, > > > > Thanks for your response. > > > > Since I already have a swf that generates a complex view using data > > provided, what I'd like to be able to do is not have to recreate this logic > > in some other language just so that the server can generate images of the > > result. > > > > AS3 provides image generation for display classes. And if I could run the > > swf on the server, instead of on the client-side, there would be no network > > overhead of having to send the rendered image to the server. > > > > LT > > > > --- In [email protected], "Kevin F. Benz" <kbenz@> wrote: > >> > >> Well. > >> > >> You can run a swf in Air but I expect that is the least of your headaches. > >> > >> I mean, what's the real objective. If you need to dynamically create > >> images, > >> why not do that in the server script as you won't have all the other goo? > >> This was figured out years ago as the age of the link will attest. > >> > >> > >> > >> http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html > >> > >> > >> > >> K > >> > >> > >> > >> From: [email protected] [mailto:[email protected]] On > >> Behalf Of lagos_tout > >> Sent: Monday, May 04, 2009 1:46 PM > >> To: [email protected] > >> Subject: [flexcoders] Run swf on server > >> > >> > >> > >> > >> > >> > >> > >> > >> Hi, all. > >> > >> I'd appreciate any suggestions on how to implement the following use case: > >> > >> (1) a swf running in a browser on the client-side sends simple numeric > >> data > >> to a server-side script. > >> (2) the server-side script calls a second swf located on the same server > >> as > >> the script, passing it the numeric data. > >> (3) this swf uses the data to generate a layout in flash that is rendered > >> to > >> an image and either (a) returned directly as binary data to the > >> server-side > >> script or (b) saved locally on the server so that the server-side script > >> can > >> access it. > >> > >> It's steps 2 and 3 that have me stumped. How can I call a swf without a > >> browser, and by extension, without the Flash Player? Is there some way to > >> call a swf directly as an executable that can return output to the calling > >> process? > >> > >> Thanks much! > >> > >> LT > >> > > > > >

