;

PDA

Click to See Complete Forum and Search --> : explosive combination: iframe flash php form on IE


light_in_tunel
08-04-2006, 07:29 AM
Hi to all!

I'm putting up a site based on flash. This flash is set up on a I-Frame.(i Know...it wasn't my choice..). That swf has a form that sends 3 variables to a mysql DB. everything is working on firefox and even on flock but not in IE.
I've made some tests and the problem is indeed the iframe.

on(release){
myVars = new LoadVars();
myVars.nome = _root.mc10.nome;
myVars.idade = _root.mc10.idade;
myVars.email = _root.mc10.email;
myVars.send("url", "_blank", "[POST]");

}

This is the code, and problem here is the target "_blank" that doesn't work!
can anyone help me?

thank you in advance

blazes816
08-04-2006, 10:11 AM
Is it possible to pass the vars to another swf, then make that swf popup, then as soon as the mails sent, close?

Musicman
08-04-2006, 01:49 PM
Hi,

what is the purpose of the blank frame there? Couldn't the flash movie tell the visitor that the variables were successfully sent, rather than using a new window

Musicman

light_in_tunel
08-07-2006, 06:08 AM
but don't i need to give a URL and a target to send the variables?

Musicman
08-07-2006, 02:21 PM
Hi,

there is
loadvars.send(url, target, "POST")
which sends data to _any_ url and expects a webpage as result.
The other one,
loadvars.sendAndLoad(url, result, "POST")
sends only to the same server, and expects simple flash variables back to the movie. So once the server replies, your movie would say that the data has been received

Musicman