Flash + php form working but one problem

ok … i’ve got the flash + php form working (as described
in the kirupa tutorial) … email works! :slight_smile:

however, instead of a two frame scene where the form is
on frame 1 and the feedback is on frame 2, i would like
to have a one frame scene and simply display a new
movie clip after the form has been submitted.

the problem:

  1. the browser keeps saying ‘transferring data from
    domain.com’ even after the email has been sent.

  2. in the onClipEvent routine for the ‘form’ movieclip, i
    am setting the visibility of another movieclip to 1, but
    it doesn’t seem to work. a trace command confirms
    that the onClipEvent routine is getting called, but
    I’m not sure why functions or commands don’t work.

ok #2 is fixed. discovered that it was a scope problem. adding a ‘_root.’ prefix to the mc’s and functions fixed it.

would be nice to know why #1 happens though.

Hi frez,

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

really sends it to PHP script which sends it to your email, and in my case too, browser is still preloading something… even though email already arrived to my inbox. But how to get response from the server that variables have been sent? no clue, maybe you can have a look at LoadVars.send() or LoadVars.load(), but i’m not sure you can find something helpful there.

  1. do not use 1 or 0, instead use true and false:
mc._visible = false;
mc._visible = true;

EDIT #2: hehe, you just did it! :stuck_out_tongue:

If that doesnt help, post your FLA :slight_smile: