I've opened the "page" in flash and when I click the "submit" button and view the ActionScript pane for that button, this is what I see:

on (rollOver) {
      this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
      this.gotoAndPlay("s2");
}
on (release) {
      for (i=1; i<_parent.fields_descriptions.length; i++) {
            if (_parent[_parent.fields_descriptions[i][1]] != undefined) {
                  this[_parent.fields_descriptions[i][1]] = _parent[_parent.fields_descriptions[i][1]]+"&777&"+_parent.fields_descriptions[i][2];
            }
      }
      this.recipient = _parent.rec;
      getURL("contact."+_parent.serv, "_blank", "POST");
}


I'm assuming that is the only ActionScript code I need to change. How do I fix this code to send the results to the html example above?

Is there anything else I should look for? Any ActionScript I'm missing?

BTW: I don't need to leave the page, once they hit submit. I'm okay with them just sending the form and staying on the contact us page.

Thanks.

Question : Help Setting Up Feedback Form in Flash Site

New to flash. I downloaded a flash site template and I've muddled through it until I got to the feedback form on the contact us page. Don't know how to set it up to send the form results to an email address, and I'm very much a beginner at Flash - don't know ActionScript at all.

Following is the code on how I would set the form up if it was an XHTML page:

 http://www.hostmonster.com/monstermail" method="post" enctype="multipart/form-data" id="quickQuote">
........


           

Answer : Help Setting Up Feedback Form in Flash Site

hi there.
I'm not sure how you're sending the mail via html? are you simply opening up the default mail client on the user machine, rather than using PHP or ASP to handle it without opening the mail client.

if so, if you're using AS2 what you can simply do it with a mailto.

where str would be set to the value in the form, which i'm assuming is recipient in your code.
submit_btn.onRelease = function()
{
      var str:String = "[email protected]";
       getURL("mailto:"+str);

};
Random Solutions  
 
programming4us programming4us