# Working with extra .AS files?

**URL:** <https://forum.kirupa.com/t/working-with-extra-as-files/304685>\
**Category:** flash\
**Created:** [February 11, 2010, 8:10pm UTC](https://forum.kirupa.com/t/working-with-extra-as-files/304685 "2010-02-11T20:10:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhjodokast](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bhjodokast/32/737_2.png) [@bhjodokast](https://forum.kirupa.com/u/bhjodokast)\
**Post date:** [February 11, 2010, 8:10pm UTC](https://forum.kirupa.com/t/working-with-extra-as-files/304685/1 "2010-02-11T20:10:28Z")

</div>

I have an FLA file that is one frame. ActionScript 3 code runs a few functions and when you click on things, other functions run. Pretty basic…

I have some buttons and sprites that I would like to use with the external.AS file found here for tool tips: [http://www.kirupa.com/forum/showthread.php?t=265894](http://www.kirupa.com/forum/showthread.php?t=265894) for my buttons and sprites.

If I save the Tool Tip code at the thread above as ‘tooltip.as’, how do I use that in my FLA?

Since I am using an FLA with Actions in Frame 1, I’m not using ‘package’ keyword… it just starts with import flash.display.Sprite; and goes on to set variables and functions. I’m not using a document class.

I checked out this page, but I’m not using a document class, so I’m not sure how to get it working: [http://www.adobe.com/devnet/flash/quickstart/external\_files\_as3/](http://www.adobe.com/devnet/flash/quickstart/external_files_as3/)
