# Another 1046: Error.. and i know i have to import

**URL:** <https://forum.kirupa.com/t/another-1046-error-and-i-know-i-have-to-import/300647>\
**Category:** Uncategorized\
**Created:** [November 25, 2009, 3:50am UTC](https://forum.kirupa.com/t/another-1046-error-and-i-know-i-have-to-import/300647 "2009-11-25T03:50:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lordofthestring](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lordofthestring](https://forum.kirupa.com/u/lordofthestring)\
**Post date:** [November 25, 2009, 3:50am UTC](https://forum.kirupa.com/t/another-1046-error-and-i-know-i-have-to-import/300647/1 "2009-11-25T03:50:08Z")

</div>

hello guys,

this is my first post in here, and i hope i can explain my error so that u guys can help me solve it 🙂

I am sure this is a noob mistake… but i can’t seem to find it out on my own ☹

so, i have a Projekt\_test\_01.fla file, that calls my Main.as class… (i know that the path to that is correct since it opens when i press the button “Edit class definition” in Flash)

in the main class file there is the following code:

```auto
package src
{

    import General.Input;
    import General.Input.*;
    
    import TestBed.Test;
    
    import flash.display.MovieClip;
    import flash.display.Sprite;
    import flash.events.Event;

    public class Main extends MovieClip
    {
        
        //======================
        // Member data
        //======================
        public var m_input:Input;
        

```

and that is where it starts already…

1046: Type was not found or was not a compile-time constant: Input.  
(the error is at the last line that i posted here…)

now i am sure that the imports work since i can call upon code completion and can select the General.Input class…

so why am i getting this error then?? i added the General folder to the source path… is there more to it?? what am i missing??

in the attachment you can see my project structure…

i hope someone can help me there…

thx
