Well i spose this will be my basic question location. I just installed 3.0, and am toying with it, but i cannot even get a hello world program to work lol.
I am attempting to Have a main FLA that loads one class and gives itself (level0_ you could say) as a paremeter. That class then goes on and does everything. Basically a 100% AS Website.
Now i can't even seem to get the class to be recognized. And i am sure i am doing a ton of things wrong.. ie, how i am organizing my class (Which exists in a custom folder "MovieFolder/AS/UIMng/Index.as" and my FLA is in "MovieFolder/myMovie.fla".
Here is the only thing in the fla:
Here is the index.as file:Code:stop(); import AS.UIMng.Index; var objIndex = new Index();
Note that the two movieclip variables are the root movieclip, but i'm waiting to implement them until i can get the actual class to be fully defined.Code:class AS.UIMng.Index { public var traceDebug:Boolean; //private var rootClp:MovieClip; function Navigation() { //this.rootClp = rootClip; } }
Could someone give me a pointer? Being that it is so amazingly simple, i assume somehow i am defining the class path wrong.. how would i do that?
Here is the error i am getting:
Code:C:\~~\asv301\index.fla: ReferenceError: Error #1065: Variable Index is not defined. at Timeline0_6684953c7a2dd54f9ea879d9b6d76711/::frame1()



Reply With Quote