Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 03-31-2003, 01:00 AM   #1
thpii
Where can I pet a monkey?
 
thpii's Avatar
 
Join Date: Sep 2002
Location: CT
Posts: 245
Send a message via ICQ to thpii Send a message via AIM to thpii Send a message via Yahoo to thpii
Default Action Scripting, best practices

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

Last edited by thpii; 03-31-2003 at 01:03 AM.
thpii is offline   Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:21 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.