As you start building a collection of AS3 files for larger flash games / applications importing them via the library seems a little crazy (not to mention wanting to use some of the 3rd party libraries and classes out there.
So start using classpaths - which allow you to import external classes into your flash projects (and other AS3 files). This also allows for you to create reusable classes for use between projects (loader helper classes, conversion classes.. etc..)
A good explanation of how to do it is made by Jody Hall at:
http://www.actionscript.org/resources/articles/698/1/Make-your-own-reusable-classes-using-Flash-and-AS3/Page1.html
-Rask
From Austin, TX
Net-Recon
Web Design, Flash Games, Social Media, Interactive Development
Saturday, February 23, 2008
Subscribe to:
Posts (Atom)