# Import external class with Flex SDK..?

**URL:** https://forum.kirupa.com/t/import-external-class-with-flex-sdk/296647
**Category:** Uncategorized
**Created:** [September 17, 2009, 6:31pm UTC](https://forum.kirupa.com/t/import-external-class-with-flex-sdk/296647 "2009-09-17T18:31:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dandylion13](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@dandylion13](https://forum.kirupa.com/u/dandylion13)
#### Post date: [September 17, 2009, 6:31pm UTC](https://forum.kirupa.com/t/import-external-class-with-flex-sdk/296647/1 "2009-09-17T18:31:05Z")

</div>

Hello,

I’m using Textmate to complile AS3.0 code. I need to import an external class library that isn’t relative to the project or document root. It’s a directory called “agd” which is in this this location of the Flex SDK installation directory:

frameworks/libs/agd

I’ve udated the flex-config xml file so that it looks in that location for the classes

\<source-path\>  
\<path-element\>libs/agd\</path-element\>  
\</source-path\>

In my class I’ve use the this import statement:

import agd.utils.StatusBox

When the code compiles, it seems to be able to navigate to “agd.utils” but can’t find the actual class, “StatusBox”

… I’m sure there’s something very basic that I’m missing out?

I’d really appreaciate some help from anyone who might be able to point me in the right direction… thanks very much 🙂
