1 Reply Latest reply on Jun 1, 2006 2:46 AM by Newsgroup_User

    Preloader Error

    The bloke from stoke Level 1

      Hi Guys

      I am having a problem with this bit of script for a preloader I am using on a website. It worked fine for an old site i did using flash 6 but when publishing using flash player 8 it comes up with a syntax error on the first line. Any ideas?

      txtPercentage = Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100) add "% loaded";
      tellTarget ("loader") {
      gotoAndPlay(Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100));
      }


      Many thanks

      Trevor