7 Replies Latest reply on Nov 3, 2007 8:06 AM by kglad

    actionscript debugging HELP!

    preciouspurple11
      function preloadProgress( event:ProgressEvent ):void {
      var loadedPercent:int = event.getBytesLoaded( ) / event.getBytesTotal( ) * 100;
      loaderText.text = loadedPercent + "% loaded";
      twirlsMask.scaleY = loadedPercent / 100;
      }


      Anyone knows the problem? It keeps saying:

      **Error** Scene=Scene 1, layer=actions, frame=1:Line 12: '{' expected
      function preloadProgress( event:ProgressEvent ):void {

      **Error** Scene=Scene 1, layer=actions, frame=1:Line 16: Unexpected '}' encountered
      }

      I've uploaded the file too: http://www.mediafire.com/?8cm0ilmo41z