A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: explosive combination: iframe flash php form on IE

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    27

    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

  2. #2
    Senior Member
    Join Date
    Jul 2005
    Posts
    692
    Is it possible to pass the vars to another swf, then make that swf popup, then as soon as the mails sent, close?

  3. #3
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    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

  4. #4
    Junior Member
    Join Date
    Apr 2003
    Posts
    27
    but don't i need to give a URL and a target to send the variables?

  5. #5
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center