*.as function collection


I’ve just got a question… I want to make a *.as file or similar where I just collect alot of functions I like. And so I just kan import it to my projects, so I don’t have to declare every function for every project…

I know about how to make this making some kind of object like

Class name : funcCollection (extends Sprite)
(declared a lot of functions in the class)

var fC:funcCollection = new funcCollection();

var useful = fC.useful("some text");


Instead I just want to write so that I don’t have to create the fC variable, and then write fC.functionName. I want to only import the class “funcCollection” and just write the “useful('some text)” instead of “fC.useful(‘some text’)”.

Is this possible, or do I have to use the objectmethod?