Solved

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

Posted on 2010-09-15
6
374 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
  • 3
  • 3
6 Comments
 
LVL 20

Assisted Solution

by:ChristoferDutz
ChristoferDutz earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Appreciate it...  :)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now