?
Solved

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

Posted on 2010-09-15
6
Medium Priority
?
381 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 2000 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
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!

 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 2000 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

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!

Question has a verified solution.

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

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

765 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