|
-
explosive combination: iframe flash php form on IE
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
-
Is it possible to pass the vars to another swf, then make that swf popup, then as soon as the mails sent, close?
-
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
-
but don't i need to give a URL and a target to send the variables?
-
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|