1 Reply Latest reply on Jan 14, 2007 7:32 AM by peterent

    class name collision

    AtemAtem
      What is the difference from this:

      package webservice
      {
      import mx.rpc.soap.WSDL;

      public class WebService
      {
      private var service:mx.rpc.soap.WebService;

      public function WebService(url:String)
      {

      }
      }
      }

      and this:

      package webservice
      {
      public class WebService
      {
      private var service:mx.rpc.soap.WebService;

      public function WebService(url:String)
      {

      }
      }
      }

      In the latter case, there is no import directive. Which i shouldn't need, right?
      Anyway, the latter case gives the error #1046: Type was not found or was not a compile-time constant.

      myatem