Okay... so I've been programming AS for roughly a year now... I've learned alot from Actionscript for Flash MX (the book) and I've learned alot from this forum.
I'm looking to take my skills to the next level by learning best practices. For instance, there are several different ways to write an onClipEvent,
1.) You can place your code "on top" of the movie clip
2.) You can place your code in a frame and do a:
ActionScript Code:
foo.onEnterFrame = function() {}
3.) you could place the code from #2 in a file and include it
4.) etc... etc..
As I was learning, in many of the web sites I created, the code was spread out all over the place... very unorganized.
When I write perl, PHP or C code, I have certain practices that I follow. For instance, whenever I write a perl CGI script, I create a dispatch table, which I keep inside a MAIN:{} block, etc, etc... I'm looking for examples of these kinds of practices in AS...
Can anyone point me to a tutorial or book where I can read up on best practices? Any suggestions would be appreciated.
-Theron