Hello

Hi, I'm new to the forums as well as AS3...I have some experience in AS2 (having built one website and several simple games/animations) and was wondering what the best way to learn AS3 is. I downloaded the source for Box2D, but I don't fully understand how AS3 works, and was wondering if someone could help me out.
What is a "package"?
Why are there .fla files as well as .as files and how are they linked up in the Flash GUI?
I understand that the major difference in AS2/AS3 is that AS2 was more function based, and AS3 is more Event based...what are the other major differences I should study up on?
I bought O'Reily's Essential AS3 but are there any other good books for learning AS3 that assume a background in AS2?

Thanks so much for the physics engine Erin, and thanks to anyone who can point me in the direction of some learning =)
I look forward to playing with this engine.
It's not really the most approporiate forum to ask in but I'll go over all of this in short.

The class-based approach is nothing new to AS2. You can find info on these in the AS2 statement reference. A package is for organising classes, like flash.display.BitmapData (which was also present in AS2).
.AS files contain seperate classes which Flash or any other compiler look up if they're mentioned in the code/FLA entry point they were provided. When you use a class in AS inside Flash it will try to look up an .AS file of this name in the same directory (or other subdirectories named after packages if you use imports to resolve packages).
You can associate your movieclips with classes that extend a DisplayObject subclass (or just MovieClip in AS2) in the linkage dialog when rightclicking movieclips in the library.
AS3 doesn't call things like 'onEnterFrame' for you automatically, instead you specify the functions you want called on what event with EventDispatcher.addEventListener. Display objects extend this class so they dispatch events related to rendering time/mouse activity.

Further you should look up everything in Livedocs and start small. You should get more basic things down before working with Box2d.
Thanks for the advice, and I know it's not the most appropriate forum to ask for AS3 tutorial, but I was thinking of using box2d to start to learn AS3, but I opened up the fla file and it was empty...so I wasn't really sure how the program works with no instructions in it...no code at all.
so basically, it's just going in and running the .AS file of the same name when it sees that the FLA is empty right?
No, there's a document class specified. The field is in the properties box I think.

Box2D is not a good choice to learn AS3 with, it's ported rather directly from C++ to function identically to the original.
I'd suggest you begin with doing your own programming. Then, APE is an easy to use AS3-style physics library.

Original thread: https://box2d.org/forum/viewtopic.php?t=464