I’ve got this class I call ToolBox, as well as a few others, which I end up using in a number of projects of mine. This ToolBox contains a variety of methods and constants that I use throughout my code, with different .fla locations.
I want to be able to import a single ToolBox.as location, to be used by multiple projects (.fla’s and .as’s, grouped in folders under a “Projects” folder). Is there a way I can have all of these projects import from a single location? I’m still trying to get to grasps with how custom imports work.
Let’s say the folder structure is:
-Flash Files[INDENT]-Tools[/INDENT]
[INDENT=2]-ToolBox.as[/INDENT]
[INDENT]-Projects[/INDENT]
[INDENT=2]-Project1.fla, Main1.as
-Project2.fla, Main2.as
-Project3.fla, Main3.as[/INDENT]
I suppose, then, the question is how can I get project1, 2, and 3 to import ToolBox.as using that structure?
Thanks!