# Common-Use Class Folder import

**URL:** https://forum.kirupa.com/t/common-use-class-folder-import/331358
**Category:** flash
**Created:** [July 14, 2013, 7:00pm UTC](https://forum.kirupa.com/t/common-use-class-folder-import/331358 "2013-07-14T19:00:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![TheOtherTedium](https://avatars.discourse-cdn.com/v4/letter/t/58f4c7/32.png) [@TheOtherTedium](https://forum.kirupa.com/u/TheOtherTedium)
#### Post date: [July 14, 2013, 7:00pm UTC](https://forum.kirupa.com/t/common-use-class-folder-import/331358/1 "2013-07-14T19:00:32Z")

</div>

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!
