1 Reply Latest reply on Aug 22, 2007 7:36 AM by BinFolder

    Flash CS3: AS3 - ReferenceError #1065 Variable is not defined

    BinFolder
      I have developed several actionscript classes. Two of these classes are associated with MovieClip objects in the library. The MovieClips have their Linkage Base Classes set to their respective package and class locations and when I check the Linkage settings (using the check mark icon) Flash CS3 reports that it can find the associated classes for both MovieClips.

      When I check the syntax of my code there are no problems, and when I test the Flash movie no Compile Errors are shown. Yet, in the output window I get the following error:

      ReferenceError: Error #1065: Variable class1 is not defined.

      ReferenceError: Error #1065: Variable class2 is not defined.

      I have placed class1 and class2 in the above error messages to represent the classes that are associated with the MovieClip.

      Am I missing an import command somewhere? I have the base class path properly set in the preferences of Flash CS3.

      Thanks,