Solved

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

Posted on 2010-09-15
6
378 Views
Last Modified: 2013-11-11
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
Comment
Question by:CyanBlue
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 20

Assisted Solution

by:ChristoferDutz
ChristoferDutz earned 500 total points
ID: 33690393
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
 
LVL 20

Expert Comment

by:ChristoferDutz
ID: 33690404
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
 
LVL 37

Author Comment

by:CyanBlue
ID: 33692393
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!

 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 500 total points
ID: 33692582
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
 
LVL 37

Author Comment

by:CyanBlue
ID: 33692642
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
 
LVL 37

Author Closing Comment

by:CyanBlue
ID: 33692651
Appreciate it...  :)
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question