11 Replies Latest reply on Jul 12, 2007 12:44 PM by kglad

    Package Problem

    HellRester
      Hi, i have a mais .FLA with his root class, no prolem here, but my root class wants to import my other class situated in [$root]/MyClasses/MySocket/ directory. The .AS file is named MyBaseSocket.as and the class in it is named MyBaseSocket too.
      When i try to compile my app, the compiler throw me an error :"1172: Definition MyClasses.MySocket:MyBaseSocket could not be found."
      Do i need to do something special to compile my package?

      in root class:
      import MyClasses.MySocket.MyBaseSocket; // error 1172

      in MyBaseSocket.as:
      package MyClasses.MySocket
      {
      [...]
      public class MyBaseSocket
      {
      [...]