views:

610

answers:

3

Hello all. I'm working on a website that requires a flash mp3 player. I have absolutely no idea the procedures from messing with flash/actionscript/flex etc., however I need to edit the flash very slightly (I need to add two lines of code). There are a multitude of tutorials out there for setting up a flash (or flex or whatever) development environment but, as my needs are so simple, I'd like to go a little more light-weight than that (also, many seem outdated). I guess what I'm saying is I'm looking for a simple way to recompile some existing actionscript (command line is a plus!). Does anyone have a trick up their sleeve to accomplish this?

+1  A: 

You can compile it online here: http://wonderfl.kayac.com/. No mess that way.

Jeremybub
Thanks, site looks good. I'll try it when I get home...
danwoods
+1  A: 

There's MTASC for ActionScript 2.

Ben Alpert
I'm under the impression they have actionscript 3 out now. Wouldn't I want to compile with the latest standards? What's the difference?
danwoods
Yes, Adobe have released version 3, but MTASC supports only ActionScript 2, like it says on the webpage.
Ben Alpert
+5  A: 

Download the free/opensource Flex 3 SDK. This includes an ActionScript3 compiler. Run the compiler like this:

mxmlc MyAs3File.as
Ole J. Helgesen
Thanks man. That's exactly what I needed, except I'm trying to compile something written in actionscript2. I assume this would produce errors?
danwoods
Did you try MTASC? If that fails, find somebody with MacOS or Windows (or install it yourself in a virtual machine), and compile in Flash CS. A demo version is available at adobe.com.
Ole J. Helgesen
mxmlc can only compile ActionScript3 class files and Flex MXML files.
Ole J. Helgesen