Import external actionscript file? (is this even possible)

What i am trying to do for fun is make an attempt at creating a game similar to the 2d gameboy color Zelda games.

So i have the first character and all his keyboard triggered movements(Link) in a separate as3 file. i want to be able to import that(along with several other separate as3 “character” files) into my “main” or primary file. i assume the public and private functions/variables/etc. will need to be involved. but what do i know.

So how should i go about doing this? So pretty much have my main file, and import all the characters i made along with their actions, etc. into it?

Thanks.