Just use the mxmlc and create a script to call it and send it what you need. It's fast and relatively simple to setup command line copulation, there is many ways to set this up but I would just use whatever scripting language to create actionscript files and compile that.

About the others, Swfmill is old, ming is older, Haxe you can do it but I dont know enough about it to help you.








On Sep 10, 2008, at 4:38 PM, Ishmael Riles wrote:

Hello all,

I need to build swfs on the fly on the server-side and am looking for some advice on what's the best technology to use. The script will need to 1) pull in various swf assets (all vector graphics, no logic) from the filesystem, 2) create a new swf based off a template that includes the other swfs as movie clips and 3) insert some minor customizations such as color tints and masks and possibly some actionscript.

From my research I've come up with the following solutions:

FLEX
There is a server-side flex mode. But Adobe recommends against using it in a production enviornment. I'm afraid it's memory footprint maybe pretty hefty.

SwfMill
This seems like a good solution, but is it not in active development anymore? Also I would prefer not to have to spawn an extra process with each request so a php solution would be better?

Ming
http://us2.php.net/manual/en/class.swfprebuiltclip.php
Does anyone know about this function? Does it create movieclips from external swfs?

haXe
I see that haXe allows you to create php scripts that create flash movies. But does it allow you to pull in existing swf movies to include in the movie you're creating?


Disclaimer:
I know that all of this could be done on the client-side. The reason for compiling these swfs on the server-side is that the application we're developing needs to re-use so many little pieces of artwork(swfs) that the number of http requests neccessary is killing the performance of the server. So this is mainly for optimization.

thanks. I appreciate any leads/insight

Ishmael

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to