1 Reply Latest reply on Dec 11, 2009 4:36 AM by Ned Murphy

    Form Help Needed.

    jeff spires Level 1

      Hi, I'm struggling to get the form to to go to a new frame once the form button has been submitted.

      Live example (The form shows at the end):
      http://www.pow-new-media.com/pay_per_click.php

      Using ActionScript 2.0

      The submit button is at this following path:
      Scene -> txt8 (MC) -> t8.1 (MC)

      The button has the following code on:

      Code:
      on (release) {     
      share_form.loadVariables("pay_per_click.php", "POST");
      }

      The onClipEvent(data) is held on the movieClip txt8, as this is the clip that holds the all the form components.

       

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

       

      The next from frame that i'm asking it to go to, is directly after the txt8 MovieClip. Both the the txt8 MovieClip and NextFrame have stop(); code on them.

       

       

      The form submits all the info into the database, I just can't get it to load the next frame to say thank you.

       

       

      Anyhelp would be great.

       

      Thanks
        • 1. Re: Form Help Needed.
          Ned Murphy Adobe Community Professional & MVP

          You should put a trace in the onClipEvent(data) function to see if it ever executes.  I am not too familiar with loadVAriables, but the data event is supposed to involve the receipt of data, so it is possible you are not capturing that event, assuming some data event is being generated from the posting of the form data.

          1 person found this helpful