[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2010-09-15
6
Medium Priority
?
382 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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

649 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