This content has been marked as final. Show 5 replies
show the code for your simple class (and the code that instantiates your class) that causes the error.
Hi there, and thanks for taking time to help me out.
I have a folder, test, that holds the files "myTest.fla" and "myTest.as" . The attached code is for myTest.as
In my myTest.fla:
in the document class box i have: myTest. (please note the full stop after the class name).
Also, I have not done anything to the settings in terms of class path etc...
I removed the full stop after the document class declaration in the FLA and it worked now!! What a stupid mistake :)
I'm following the Essential Actionscript 3.0 book, and it looks like they want you to do that...which obviously is not the case. Thanks for taking time to help me out!