# \[AS 3.0\] Help with Packages and Flash 9 IDE Alpha

**URL:** <https://forum.kirupa.com/t/as-3-0-help-with-packages-and-flash-9-ide-alpha/197069>\
**Category:** flash\
**Created:** [August 13, 2006, 3:20pm UTC](https://forum.kirupa.com/t/as-3-0-help-with-packages-and-flash-9-ide-alpha/197069 "2006-08-13T15:20:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gone2far](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@gone2far](https://forum.kirupa.com/u/gone2far)\
**Post date:** [August 13, 2006, 3:20pm UTC](https://forum.kirupa.com/t/as-3-0-help-with-packages-and-flash-9-ide-alpha/197069/1 "2006-08-13T15:20:53Z")

</div>

I’ve been trying to learn AS3 and I’m having problems with setting the classpath in the Flash 9 IDE Alpha.

I set the classpath (Edit \> Preferences \> ActionScript \> AS3 Settings) to: **E:\Flash\AS3\Classes**

I set up my custom classes in \*\*E:\Flash\AS3\Classes\com\local\

\*\*Example:

```auto

package com.local.examples {
    
    public class SomeClass {
        public static function doSomething():void {            
            // do something
        }    
    }
}

```

SomeClass.as resides inside \*\*com/local/examples/  
\*\*  
In test.fla, I try to import the class using:

```auto

import com.local.examples.SomeClass;

```

But I keep getting the compiler error:  
_Error_\* D:\Projects\Flash\AS3\Example emp.as : Line 1, Column 54 : [Compiler] Error #1172: Definition com.local.examples could not be found.  
À�  
**Error** D:\Projects\Flash\AS3\Example emp.as : Line 1, Column 54 : [Compiler] Error #1172: Definition com.local.examples could not be found.  
À�  
ReferenceError: Error #1065: Variable Timeline0\_2edfdd25a1c69b4ca6d385115f85eb1c is not defined.

Anybody got any ideas how I set the classpath properly and how I properly use the import/package?

I’ve tried to look already on the online AS3 docs on [www.adobe.com](http://www.adobe.com) and looked at the Senocular’s AS3 code hints but unfortunately I can’t get this to work.
