PDA

View Full Version : compiling AS3 .as files


meddlingwithfir
03-24-2006, 01:03 AM
I just got my first AS3 application to compile, and it was a horrendous experience. After a few hours of searching, I finally found what I needed, so maybe I can save someone else the trouble :)

Helpful Links:

Adobe Labs: Actionscript 3.0 (http://labs.macromedia.com/technologies/actionscript3/)

Flex Livedocs: How to Program AS3 (http://livedocs.macromedia.com/labs/1/flex20beta2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part5_ProgAS.html)

How to use the Application Compiler (http://livedocs.macromedia.com/labs/1/flex20beta2/00002745.html)

I'd love it if someone could point me to a place that had some really basic tutorials on some of this stuff. Kind of a "Hello World" tutorial?

With that, you should be able to at least compile what you've written :D

hangalot
03-24-2006, 02:52 AM
i don't see what the problem is with compiling. you right click on the entry point (thats the mx:application tag for flex or the movieclip that first got created when you created a new project)and say run as flex application.
a thing to remember is that the AS3 eclipse-based(zorn) editor does not show errors in your code unless its linked to the main application.

hangalot
03-24-2006, 02:55 AM
or click the left run button in eclipse, while you have a project open. or create an ant script and use the build managers i think what you need is a tutorial on using eclipse maybe.
as to books and tuts, well i know of 2 books that are being written and i suspect there are several more, while tuts are finding their way out at the moment on as3.

meddlingwithfir
03-24-2006, 09:15 PM
I have neither Flex Builder 2.0 or Eclipse... Perhaps that was my problem :D