AS2.0 help with Include

I’m working on some classes in Flash Mx 2004 Pro, but I cannot seem to get the #include to work.

This is the error msg Flash gives me:

Error myClass.as: Line 1: Classes may only be defined in external ActionScript 2.0 class scripts.
class myClass {

Total ActionScript Errors: 1 Reported Errors: 1

This is my approach, maybe I’m doing something wrong…

  1. I have an external AS file called myClass.as, which resides in the same directory as my Class.FLA

  2. I have a constructor function in my class called myClass:

class myClass{
  public function myClass(){
  }
}

What am I doing wrong? :look:

Best regards