icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.
Old March 25th, 2008, 12:47 AM   #1 (permalink)
H
after g, before i
Super #1
 
H's Avatar
 
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.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 25th, 2008, 6:53 PM   #2 (permalink)
php, wha?!
Comfy Contributor
 
Gamer.Saga's Avatar
 
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.
__________________
HD.C
I am addicted to LINUX.
Gamer.Saga is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 25th, 2008, 7:05 PM   #3 (permalink)
H
after g, before i
Super #1
 
H's Avatar
 
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.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On