|
|
#1 (permalink) |
|
after g, before i
Super #1
Joined in Jul 2004
Hosted on Gojira
7,870 posts
Gave thanks: 44
Thanked 127 times
|
Compile Flash SWF From .AS?
Anyone know how to compile a SWF via a command from a AS file? Trying to have capistrano generate a Flash 8 SWF whenever I run it... just to automate the release process with the rest of the site updates.
It's definitely necessary for it to work under *nix, most likely Linux and Mac. |
|
|
|
|
|
#2 (permalink) |
|
php, wha?!
Comfy Contributor
Joined in Feb 2008
117 posts
Gave thanks: 3
Thanked 4 times
|
I don't think you can in actionscript. I think something like that would be handled by bossing a PHP script around that is coded to generate what you want using the ming functions. Also check into Shockwave Flash Functions.
Not sure what version of flash they use, I'm too busy to check at the moment. I'm also not to sure about how well that "shockwave flash functions" documentation is. I only tried ming. Overall I'd have to say it's just too much work to deal with. =/ Your best bet would be looking into ruby. I've seen fancy graphic stuff accomplished with it. I can only assume it would have superior abilities with flash generation too. |
|
|
|
|
|
#3 (permalink) |
|
after g, before i
Super #1
Joined in Jul 2004
Hosted on Gojira
7,870 posts
Gave thanks: 44
Thanked 127 times
|
Ooops, I meant to post back saying I figured out how.
Motion-Twin <-- a nice cross-platform choice. We thought about PHP and stuff to do it, but we want something that only gets compiled when we push new versions of the site live. So compiling a SWF of an AS2 class is definitely prefered, especially with what we're wanting to run. |
|
|
|