• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 383
  • Last Modified:

[Q] How to build AS project on FB4 via command line?

Hi...

I have Flash Builder 4 standard version on Mac... I was wondering if there is any way to build an AS project(not MXML project) via command line...
I basically want to build two SWFs with that one with the debug information and another one as a release build...

Any help/link/tutorial would be appreciated... Thanks...  :)

CyanBlue
0
CyanBlue
Asked:
CyanBlue
  • 3
  • 3
2 Solutions
 
ChristoferDutzCommented:
Well this is certainly possible. We do this by using Maven and the flexmojos-plugin. Works like a charm and most IDEs support maven nicely.

http://flexmojos.sonatype.org/
https://docs.sonatype.org/display/FLEXMOJOS/Home

I'd suggest to give it a try :-)
0
 
ChristoferDutzCommented:
And of course you can allways write your code with any text editor and use the compc compiler from the Flex sdk

http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_22.html
0
 
CyanBlueAuthor Commented:
It sounds like the Flexmojos is Flex project specific if I read it correctly???  Did you get a chance to work it with the AS files???
---
Flexmojos provides first-class support for Flex and AIR development within Apache Maven. It allows Maven to compile, optimize, and test Flex SWF, Flex SWC, Air SWF and Air SWC.
---

Also, compc compiles SWC and mxmlc compiles SWF out of MXML files not AS class files which is what I want...

Thank you for your time...  :)

CyanBlue
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
ChristoferDutzCommented:
Well I am using it am having several modules completely consisting of AS-files. Flexmojos handles them nicely, no matter if if compile them to swc or swf.

Have a look at this ... here the guy is setting an AS as the main application class and is using mxmlc to complile that to an swf.
http://blog.starwolf.ch/2010/05/02/linux-und-adobe-flash-mit-flex-4-sdk/
0
 
CyanBlueAuthor Commented:
Awesome...  It wasn't just clear to me when I was reading that Flexmojos page...  
That blog page definitely helps...  I think I can go on from there...  Appreciate your help...  :)

CyanBlue
0
 
CyanBlueAuthor Commented:
Appreciate it...  :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now