Foros del Web » Creando para Internet » Flash y Actionscript »

que el visitante pueda adjuntar una foto o varias

Estas en el tema de que el visitante pueda adjuntar una foto o varias en el foro de Flash y Actionscript en Foros del Web. Este es mi código para el envío de email por formulario , lo que consulto es como hago para que el visitante pueda adjuntar por ...
  #1 (permalink)  
Antiguo 07/07/2013, 14:09
 
Fecha de Ingreso: julio-2013
Ubicación: concordia, entre rios
Mensajes: 5
Antigüedad: 10 años, 9 meses
Puntos: 0
que el visitante pueda adjuntar una foto o varias

Este es mi código para el envío de email por formulario, lo que consulto es como hago para que el visitante pueda adjuntar por ejemplo una foto o varias…


theName.tabIndex = 0;
theMessage.tabIndex = 0;
theEmail.tabIndex = 0;
theWebsite.tabIndex = 0;
thePhone.tabIndex = 0;
function timer()
info.text = "por lo general respondere dentro de las 24hs...";
var senderLoad = new LoadVars();
var receiveLoad = new LoadVars();
resetBtn.onRelease = function ()
{
theName.text = "";
theEmail.text = "";
theWebsite.text = "";
thePhone.text = "";
theMessage.text = "";
info.text = "por lo general respondere dentro de las 24hs...";
};
user_info_saved = SharedObject.getLocal("mipagina");
if (user_info_saved.data.username != undefined)
{
theName.text = user_info_saved.data.username;
}
else
{
theName.text = "";
} // end else if
if (user_info_saved.data.useremail != undefined)
{
theEmail.text = user_info_saved.data.useremail;
}
else
{
theEmail.text = "";
} // end else if
if (user_info_saved.data.userwebsite != undefined)
{
theWebsite.text = user_info_saved.data.userwebsite;
}
else
{
theWebsite.text = "";
} // end else if
if (user_info_saved.data.userphone != undefined)
{
thePhone.text = user_info_saved.data.userphone;
}
else
{
thePhone.text = "";
} // end else if
submitBtn.onRelease = function ()
{
problem = "";
lf = "\n";
if (theName.text == "")
{
problem = problem + ("POR FAVOR INGRESE SU NOMBRE." + lf);
} // end if
if (theEmail.text == "")
{
problem = problem + ("POR FAVOR INGRESE SU E-MAIL." + lf);
} // end if
if (theEmail.text.indexOf("@") == -1)
{
problem = problem + ("FALTA @ EN SU E-MAIL." + lf);
} // end if
if (theEmail.text.indexOf(".") == -1)
{
problem = problem + ("FALTA EL . (PUNTO) EN SU E-MAIL" + lf);
} // end if
if (theMessage.text == "")
{
problem = problem + ("POR FAVOR INGRESE SU MESSAGE." + lf);
} // end if
if (problem.length < 1)
{
if (readyToGo != 1)
{
readyToGo = 1;
setTimeout(timer, 30000);
senderLoad.theName = theName.text;
senderLoad.theEmail = theEmail.text;
senderLoad.thePhone = thePhone.text;
senderLoad.theWebsite = theWebsite.text;
senderLoad.theMessage = theMessage.text;
senderLoad.sendAndLoad("send.asp", receiveLoad, "POST");
info.text = "POR FAVOR ESPERE, ENVIANDO...";
user_info_saved.data.username = theName.text;
user_info_saved.data.useremail = theEmail.text;
user_info_saved.data.userphone = thePhone.text;
user_info_saved.data.userwebsite = theWebsite.text;
user_info_saved.flush();
}
else
{
info.text = "ESPERE 30 SEGUNDOS Y VUELVA A INTENTARLO";
} // end if
} // end else if
if (problem.length > 1)
{
info.text = problem;
} // end if
};
receiveLoad.onLoad = function ()
{
if (this.sentOk)
{
info.text = "SU MENSAJE FUE ENVIADO. GRACIAS " + theName.text + "!";
_root.infoMain.info.status.text = "MENSAJE ENVIADO CON EXITO";
_root.infoMain.gotoAndPlay(2);
}
else
{
info.text = "ERROR EN EL ENVIO, INTENTELO DE NUEVO";
_root.infoMain.info.status.text = "MENSAJE FALLO. INTENTELO NUEVAMENTE";
_root.infoMain.gotoAndPlay(2);
} // end else if
};
bg.onRelease = function ()
{
};
bg.useHandCursor = false;

Última edición por orlandobilbao; 07/07/2013 a las 14:16 Razón: cometí un error de tipeo

Etiquetas: adjuntar, as, foto, php, visitante
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 13:29.