Skip navigation
Currently Being Moderated

Button code "on release" runs too fast that...

Jul 7, 2007 9:58 AM

here is my code:

on (release) {
form.loadVariables("email.php", "POST");
gotoAndPlay(33); //here I want to go to this frame 'cause I have there the "sent" confirmation text
}

When I run this code, it displays the frame 33, but it does not send any variable to email.php .... however when I delete the command gotoAndPlay(33); it works perfectly.... it's only that, for sure it does not display the confirmation message... seems it runs too fast that it can't send the variables.... what is the best solution for this ???

thanx in advance,
 
Replies
  • Currently Being Moderated
    Jul 7, 2007 10:40 AM   in reply to Sw Jiten
    you should have a data receiver in there so the php file can let flash know that everything went ok, and it sends some variable back to flash, if flash gets this variable, it sends you to frame 33
     
    |
    Mark as:
  • Currently Being Moderated
    Jul 7, 2007 11:09 AM   in reply to Sw Jiten

    Dynamic text box named "anything" and than the code:
    _root.anything = 'Message Sent' instead of playing another frame.
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)