Including my AS File?

Hey all i have my main flash file, and i want to include my AS File (which is not a class just the code) into my flash…does this need to be a class?

And also i tried this yet it tells me i cannot use shared object in a class?

Any ideas on how to to include just the AS file not as a class??

Thanks in advance :smiley: