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.