3 Replies Latest reply on Mar 24, 2008 2:36 PM by Rothrock

    Preloader Syntax Error

    vpet
      Need help with ActionScript 2.0 and Player 9. I am trying to update my flash pages with Player 9.0 and discovered an incompatibility with the preloader code. I keep getting this message:

      **Error** Symbol=preloader, layer=background, frame=1, Line 6: Syntax error.
      _parent.bytes = int(isloaded/1000) add " KB of " add int(total/1500) add " KB";

      **Error** Symbol=preloader, layer=background, frame=1, Line 7: Syntax error.
      _parent.percent = int(p) add "% LOADED";

      Total ActionScript Errors: 2, Reported Errors: 2

      Any help would be greatly appreciated. Thanks!