Nov 2, 2009
AS3 in Linux
[edit 2: new updated article! Check it out here]
[edit: I am not sure this article is still relevant. Still interesting, but not exhaustive. There is a few new methods I did not know about (thanks tom) that I have to try...See the comments for more details]
Ok, I have been trying to code in AS3 in Ubuntu.
All I can say is Adobe is not making an easy life to the coder who doesn’t want to use Windows.
I have been on the lookout for a solution for quite some time now…Just to be clear from the start: I did not find a suitable answer. But keep on reading, there is half-baked solutions here.
For the sake of exhaustivity (what a nice word), I will be listing all the previous solutions that I found, and finally tell ya what I finally did.
Just a note before we begin; To avoid redundancy, I did not repeat it, but for any of the setups that involve Adobe Flex SDK, you will need the latest Java( sudo apt-get install java-package sun-java6-jdk). For more information about installing Java & Flex SDK, click here or there
-
Using Eclipse + Adobe Flex Builder
This works well. This is, if you are comfortable with the Eclipse IDE. In my opinion, Eclipse, as great as it might be, is clunky and slow. I always get confused when using it. Plus, Adobe does give out a Flex Builder Version for Linux, but it has been alpha since ages, and it does not seem likely they are going to update it anytime soon.
-
Using Eclipse + Adobe Flex SDK
This is already nicer. Since you are using the SDK and not some plugin, you have a compiler separated from your IDE, which is much more flexible. To edit AS3 code under Eclipse, you can get the As Development Tool (ASDT http://aseclipseplugin.sourceforge.net/updates/) as a plugin.
I still don’t like Eclipse. -
Using Netbeans + Adobe Flex SDK
This would actually be my best option, because I love netbeans. The interface knows how to blend in the background so I am not distracted from my code, and the shortcuts make sense to me. It is already my IDE of choice for coding PHP. Alas! There is no AS3 support for Netbeans! To be completely exhaustive, there is, it is called FlexBean, but it will only provide syntax highlighting.
-
Using Gedit + Adobe Flex SDK
Well, this is really minimal. Using gedit as your IDE will not get you very far; in fact, it is not very different from using Netbeans with the plugin. You only get syntax highlighting. This said, compared to solution (3), it has the added value of not having to download anything beside the SDK. To get AS3 syntax highlighting in gedit, click here and go to “downloads”
After trying all of these solutions, + a few others…
My solution:
Get virtualBox Ose, and do your flash stuff there. It is a bit of a chore, since you have to set up virtualBox, and install SP3, .Net, and flash debug player. And of course, you need a working copy of windows, something that goes against my idea of a fully free, legal, and open-source desktop. But at least it works exactly the way it is intended to, no surprises.
Yeah. There is no viable solution for large-scale flash development as I write. It is a shame but this is how it is.
Today I am able to draw, paint, write, animate and even model and animate in 3D in Linux; you’d think it is easy to use any coding language, due to the strong ties of Linux with programming. I mean, all Linux distros have extensive support for c++, python, java, etc….But no, nada, nothing here for AS3.
This and after effects are my last ties with windows, so if anyone has found a solution I would be glad to know.
by Xananax


Pingback: Tweets that mention AS3 in Linux | yelostudio -- Topsy.com