3 Replies Latest reply on Mar 6, 2007 6:38 AM by kglad

    converting flash 6 site to flash 8


      I am using a template that was written in flash 6 and am trying to add extra functionality that requires it to be published in flash 8.
      When I try this it reports an error in the preloader code. Here it is:


      t = this.getBytesTotal();
      l = this.getBytesLoaded();
      p = l/t*100;
      _root.PreLoaderBar.PercentL = String(int(p)) add " % "; *** this line is reported as garbage***
      Stage.scaleMode = "noScale";

      I tried changing the "add" to a "+" which reported no errors but then the mc wouldn't load.
      Any help would be much appreciated,