# Imports and includes

**URL:** <https://forum.kirupa.com/t/imports-and-includes/293243>\
**Category:** Uncategorized\
**Created:** [July 25, 2009, 7:11pm UTC](https://forum.kirupa.com/t/imports-and-includes/293243 "2009-07-25T19:11:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricky55](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Post date:** [July 25, 2009, 7:11pm UTC](https://forum.kirupa.com/t/imports-and-includes/293243/1 "2009-07-25T19:11:36Z")

</div>

Hi

My current project imports the following on the root time line

//Imports  
import gs.TweenLite;  
import gs.easing.\*;  
include “theStockists.as”

I then have a series of movieclips in my library that get loaded in as required at run time using addChild.

In each of these movieclips I am having to use the same import commands or I get an error.

Is there a way of me changing my code in some way so I only need to use the imports once in the main time line?

Thanks
