Saludos adapte este ejemplo actionscript 1:+ actionscript 2: de Flash MX para un Formulario Flash + SendMail PHP

http://www.kpacitat.net/kfiles/formcontacto.html

hasta ahora he logrado que ENVIE pero no toma los valores de los campos y/o informacion ..lega vacío. alguna idea

http://www.kpacitat.net/kfiles/formcontacto.html

actionscript 1:

// push button callback
function onClick(btn) {
if (btn == submit_btn) {
getResults();
gotoAndStop("pg2");
} else if (btn == return_btn) {
gotoAndStop("pg1");
}
}

// get results from pg 1
function getResults() {
sweepstakes_result = sweepstakes_box.getValue();
color_result = color_box.getSelectedItem().label;
selectedItem = color_box.getSelectedIndex();
}

// initialize the values on pg 1 with the values the user has previously selected
function initValues() {
sweepstakes_box.setValue(sweepstakes_result);
if (!started) {
color_box.setSelectedIndex(0);
started = true;
} else {
color_box.setSelectedIndex(selectedItem);
}
}

initValues();
// push button callback
function onClick(btn) {
if (btn == submit_btn) {
getResults();
gotoAndStop("pg2");
} else if (btn == return_btn) {
gotoAndStop("pg1");
}
}
// initialize the values on pg 1 with the values the user has previously selected
function initValues() {
sweepstakes_box.setValue(sweepstakes_result);
if (!started) {
color_box.setSelectedIndex(0);
started = true;
} else {
color_box.setSelectedIndex(selectedItem);
}
}
// get results from pg 1
function getResults() {
sweepstakes_result = sweepstakes_box.getValue();
color_result = color_box.getSelectedItem().label;
selectedItem = color_box.getSelectedIndex();
}

actionscript 2:

// add the listener to the Key onj
k = new Object();
k.onKeyUp = function()
{
if(Sname.text != ''
&& Semail.text != ''
&& sweepstakes_box.text != ''
&& color_box.text != '')
{
// enable btn
sendMC.sendButton.enabled = true;
} else {
// diable
sendMC.sendButton.enabled = false;
}
}
Key.addListener(k);

// set starting status
// for SEND button
sendMC.sendButton.enabled = false;
// stop on current frame
stop();

ver: http://www.kpacitat.net/kfiles/formcontacto.html

sendmail.php

<?
if(!empty($HTTP_POST_VARS['sender_mail']) || !empty($HTTP_POST_VARS['sender_message']) || !empty($HTTP_POST_VARS['sender_subject']) || !empty($HTTP_POST_VARS['sender_name']))
{
$to = "[email protected]";
$subject = stripslashes($HTTP_POST_VARS['sender_subject']);
$body = stripslashes($HTTP_POST_VARS['sender_message']);
$body .= "\n\n---------------------------\n";
$body .= "Mail sent by: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">\n";
$header = "From: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">\n";
$header .= "Reply-To: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">\n";
$header .= "X-Mailer: PHP/" . phpversion() . "\n";
$header .= "X-Priority: 1";
if(@mail($to, $subject, $body, $header))
{
echo "output=sent";
} else {
echo "output=error";
}
} else {
echo "output=error";
}
?>

PD: esto usa componentes quizá ayudar a configurar. Gracias[url][/url]