1 Reply Latest reply on Oct 29, 2007 1:05 PM by kglad

    Form Actionscript has ERRORS

    Mary_Alice Level 1
      Regarding Flash 8 actionscript 1 or 2.0. My SUBMIT button Actionscript keeps coming up with errors!? This is my script:

      {onClipEvent (load)
      myVars.LoadVars = new LoadVars(); }
      {
      returnVars.LoadVars = new LoadVars(); }
      {
      returnVars.onLoad = function(success) }
      {
      myVars.sendAndLoad("analysisformphp.php",returnVars,"POST");}
      {
      returnVars.onLoad = function(success)
      }

      THESE ARE THE ERRORS THAT JUMP UP:

      must appear within on/onClipEvent handler
      {onClipEvent (load)

      Total ActionScript Errors: 10 Reported Errors: 10

      Here is the code I put in for my FORM:

      onClipEvent(data){
      _root.nextFrame();
      }

      Can someone solve the above situation for me? Yes, I am still working on the form that I created for a website. It still is not working. And what do I do about the 'Thank You' page? I created a 'Thank You' page but I do not know where I place the script and what the actionscript is.
      Mary Alice
      art.design@comcast.net