The only alternative I can think of is to port your code to haXe, which is very similar to AS3.
You can compile haXe code to AS3 (or directly to a .swf) and use that for the client side. For server side, you can compile haXe to run on Neko and write to files etc. In short - obviously depending on the libraries you are using - you can write your code once in haXe and compile to run on server and on client; and it's not that far from AS3. HTH, Ian On Mon, Sep 22, 2008 at 6:53 PM, Alan <[EMAIL PROTECTED]> wrote: > Hi Glen, > > Thanks for the response but I'm not looking for command-line compiling, but > the actual execution of AS3 code from the command-line. My animation app > uploads the user's creation as an xml file with all the keyframes and layer > information. For browser playback, the app reads the keyframes and > calculates all the tween information on-the-fly with beziers and easing > functions (like After Effects). In order to render the movie to a flat-file > though, I need to either do a draw() on the movie's container to a bitmap > object and upload each frame, or somehow regenerate the animation on the > server (hence the perl script). Uploading each frame would be immense and > the perl script would require maintaining 2 separate animation calculating > codebases, so I am wanting to somehow utilize my AS3 code on the webserver. > I'm figuring this is impossible since a runtime environment (the plugin) is > needed to run a swf but I'm hoping there's some bizarre workaround. > Probably wishful thinking... ? > > Alan > > >> Flash uses the mxml compiler which is part of the Flex SDK. As long as >> you are not importing classes specific to the IDE, then you can run the >> compiler on the command line. >> >> Download the free Flex SDK from Adobe and see if you can compile your >> classes - look at Flash Develop for something that can handle non-IDE >> flash projects and Flex ones... >> >> If you need Flash IDE classes, you may be able to compile a library SWF >> which you can use / reference in your compile and load at runtime. >> >> Glen >> >> Alan wrote: >>> >>> Hi all, >>> >>> I'm developing a keyframe-based animation app in AS3 similar to After >>> Effects and I want the user to be able to render their final movies as >>> a quicktime to my server. I started writing a perl script that reads >>> in the movie's xml file, composites the layer images using imagemagick >>> and then encodes them using ffmpeg. However, it would be nice to use >>> my animation engine from the AS3 app to do the frame generation, so I >>> don't have to maintain 2 different versions of composition code that >>> calculate all the keyframes. Is there any way to utilize AS3 from the >>> command-line without having some sort of browser? >>> > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

