# Questions on source path

**URL:** https://forum.kirupa.com/t/questions-on-source-path/312065
**Category:** flash
**Created:** [July 24, 2010, 4:15am UTC](https://forum.kirupa.com/t/questions-on-source-path/312065 "2010-07-24T04:15:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![norm](https://avatars.discourse-cdn.com/v4/letter/n/f475e1/32.png) [@norm](https://forum.kirupa.com/u/norm)
#### Post date: [July 24, 2010, 4:15am UTC](https://forum.kirupa.com/t/questions-on-source-path/312065/1 "2010-07-24T04:15:07Z")

</div>

Hi there,

I was embedding all the class definitions of a project in a package. I didn’t deliberately set any source path for the AS files nor did I use any import statement to include the user-defined classes in any of the scripts. However, I did set a document class for the main movie of my project and I have put all the files in a hierachy as follows:

[LIST]  
[_]mainMovie.fla  
[_]code (a folder for all the .as files)  
[LIST]  
[_]mainClass.as (the document class for the project, a class for making an instance in which all the other classes in the project are called for making instances)  
[_]other\_classes (a sub folder for all the other class definitions in .as files)  
[/LIST]

[/LIST]

Now my problem is I can’t have the project compiled as the class definitions in my project are all undefined. i.e. Codes like “public var someObj : someUserDefinedType” kept getting errors. I kept getting the message “Type was not found” in the output box.

I am using Flash CS3. Am I missing anything here?? Can I get any help for this??

Thx a lot in advance.
