I’m relatively new to AS3 and a class-based workflow.
What’s the best way to handle .as files as relates to the document class?
i.e.- if i have:
- reusable preload code
- code to handle papervision 3d stuff
- code to handle site functions involving movieclip placement, etc.
- form validation/user data code
- navigation code
- full screen, reposition clips code
and i would like to separate those as much as possible, what is best practice? To put items 1 - 6 in their own .as files and do includes in my document class? Items 1-7 will relate to clips/display objects that will exist in my main .fla (i’ll only have one .swf file if i can help it).
Or, is there a better way to utilize / manage external code that my noobness prevents me from grasping?
thanks for input people!