8 Replies Latest reply on Oct 1, 2007 3:13 PM by kglad

    I just want my classes to compile.

    mgoodes
      Hello,
      I'd just like to do something simple: compile a test class in AS3.0 (Flash CS3 on Mac OSX 10.4).
      Not having any luck, nor can I find any documentation. Hoping someone can help here. Here is what I have set up:

      - file structure: Inside a folder called "Notation" i have the files "editField.as" and "editFieldTest.fla"
      - class path: Points to the "Notation" folder
      - code in the "editField.as" file is:

      package Notation {
      import flash.display.MovieClip;
      public class editField extends MovieClip { //Compiler wanted me to extend MovieClip
      function editField() {
      trace( "editField.class" );
      }
      }
      }

      - code in frame 1 of "editFieldTest.fla":
      import Notation.editField;
      var tf:editField = new editField();

      I've played with this a lot and the error messages vary. All I need is the correct way to set this up to get the class to compile.

      Thanks.
      Mark Goodes
      Flash MX expert
      Flash 3.0 newbie