# Import external actionscript file? (is this even possible)

**URL:** <https://forum.kirupa.com/t/import-external-actionscript-file-is-this-even-possible/328675>\
**Category:** Uncategorized\
**Created:** [June 5, 2012, 6:00am UTC](https://forum.kirupa.com/t/import-external-actionscript-file-is-this-even-possible/328675 "2012-06-05T06:00:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeekTweak\_0](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@GeekTweak\_0](https://forum.kirupa.com/u/GeekTweak_0)\
**Post date:** [June 5, 2012, 6:00am UTC](https://forum.kirupa.com/t/import-external-actionscript-file-is-this-even-possible/328675/1 "2012-06-05T06:00:26Z")

</div>

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.
