Headers in ActionScript?


I’m working on an ActionScript heavy file and the amount of code is starting to make it difficult to find my place.

Im wondering if its at all possible to import an external .as file to the top of my ActionScript so that when the movie runs the script is there but I dont have to actually look at it.

Im looking for a solution similar to header files from C… any ideas?

It is also worth noting that the code I’m wanting to import is not a class file. It’s interactivity code that is very re-usable and therefore placing it in an external file and importing it would make sense (if its possible)

Any help is appreciated.