2 Replies Latest reply on Nov 10, 2006 4:07 PM by Newsgroup_User

    Problems with a class

    Level 7
      Hi i have problems to execute a class constructor:

      I have in the fla this code:

      *****fileUploader.fla******
      var uploader1:fUploader = new fUploader();
      **********************


      and then i have a class in the same folder of the fla and i have this code:

      *****fUploader.as****************************
      class fUploader {
      public function fUploader(target:MovieClip, estilo:String, x:Number,
      y:Number, textoInicial:String) {
      trace("0");
      }
      }
      ******************************************


      When I compile i dont see the trace.... what am i doing wrong?!?


      Thanks!
      I mean it :)

      Jimmy