lord25turkey
🌱Yeni Üye🌱
- Katılım
- 19 Kas 2008
- Mesajlar
- 1
- Tepkime puanı
- 0
mrblar bu flash iletişimi bi türlü hallemedim elimde bi script var onun flash iletişimi doldurup kendi mail adresime nasıl yönlendiricem yardım lütfen gönder butonun altındaki kodları koyuyorum ama mail.php dosyası yok nasıl yaparım sizlerden yardım bekliyorum
gönderin altında yazanlar bunlar
function req(mc, req)
{
if (mc.text == "")
{
fade(req, req._alpha, 100, fadeSpeed);
}
else
{
fade(req, req._alpha, 0, fadeSpeed);
} // end else if
} // End of the function
function sendForm()
{
isSent = true;
formVars = new LoadVars();
formVars.sender = form.emailFd.emailTxt.t.text;
formVars.name = form.nameFd.nameTxt.t.text;
formVars.message = form.messageFd.messageTxt.t.text;
formVars.receiver = receiverEmail;
formVars.subject = subjectPrefix + " " + form.subjectFd.subjectTxt.t.text;
if (formVars.sender != "" && formVars.name != "" && formVars.message != "")
{
checkEmail(form.emailFd.emailTxt.t.text);
}
else
{
form.msg.t.typeWriterx(requiredError, textSpeed);
} // end else if
} // End of the function
function clearForm()
{
var _loc2;
for (var _loc2 = 0; _loc2 <= allFields.length; ++_loc2)
{
allFields[_loc2].t.text = "";
} // end of for
var _loc1;
for (var _loc1 = 0; _loc1 <= reqFields.length; ++_loc1)
{
fade(reqFields[_loc1].required, reqFields[_loc1].required._alpha, 100, fadeSpeed);
} // end of for
fade(form.emailFd.emailTxt.required, form.emailFd.emailTxt.required._alpha, 100, fadeSpeed);
form.msg.t.typeWriterx("", 7);
} // End of the function
function checkEmail(e)
{
if (e.indexOf("@") > 0 && e.lastIndexOf(".") > e.indexOf("@") + 1 && e.lastIndexOf("."))
{
require = form.emailFd.emailTxt.required;
fade(require, require._alpha, 0, fadeSpeed);
if (isSent == true)
{
formVars.sendAndLoad("contactForm.php", formVars, "POST");
clearForm();
form.msg.t.typeWriterx(successMsg, textSpeed);
} // end if
}
else
{
if (isSent == true)
{
form.msg.t.typeWriterx(emailError, textSpeed);
} // end if
fade(require, require._alpha, 100, fadeSpeed);
} // end else if
} // End of the function
function fade(who, startvalue, endvalue, fade_speed)
{
var _loc1 = new mx.transitions.Tween(who, "_alpha", mx.transitions.easing.Strong.easeOut, startvalue, endvalue, fade_speed, true);
} // End of the function
receiverEmail = "info@djkesaf.com";
subjectPrefix = "Dj kesaf Contact Form |";
var fadeSpeed = 2;
var over = 12245214;
var normal = 8370116;
var textSpeed = 20;
var requiredError = "* Lutfen Tum Gerekli Alanlari Doldurun.";
var emailError = "* Yazdiginiz Mail Gecersizidr Lutfen Kontrol Edin.";
var successMsg = "Mesajiniz Gonderilmistir. En Kisa Surede Bizzat Dj kesaf Tarafindan Yanitlanacaktir.";
System.useCodepage = true;
setProperty("", _focusrect, false);
form.sendBtn.onRelease = function ()
{
sendForm();
};
form.clearBtn.onRelease = function ()
{
clearForm();
};
form.sendBtn.onRollOver = form.clearBtn.onRollOver = function ()
{
var _loc2 = new Color(this.btnName);
_loc2.setRGB(over);
};
form.sendBtn.onRollOut = form.clearBtn.onRollOut = function ()
{
var _loc2 = new Color(this.btnName);
_loc2.setRGB(normal);
};
var allFields = [form.nameFd.nameTxt, form.emailFd.emailTxt, form.subjectFd.subjectTxt, form.messageFd.messageTxt];
var j;
for (j = 0; j <= allFields.length; j++)
{
allFields[j].border._alpha = 0;
allFields[j].t.tabIndex = j;
allFields[j].t.onSetFocus = function ()
{
Key.removeListener(keyObj);
fade(this._parent.border, 0, 100, fadeSpeed);
};
allFields[j].t.onKillFocus = function ()
{
fade(this._parent.border, 100, 0, fadeSpeed);
};
} // end of for
form.subjectFd.subjectTxt.required._alpha = 0;
var reqFields = [form.nameFd.nameTxt, form.messageFd.messageTxt];
var k;
for (k = 0; k <= reqFields.length; k++)
{
reqFields[k].t.onChanged = function ()
{
req(this, this._parent.required);
};
} // end of for
form.emailFd.emailTxt.t.onChanged = function ()
{
isSent = false;
checkEmail(this.text);
};
var isSent = false;
TextField.prototype.typeWriterx = function (str, ms)
{
var me = this;
var i = 0;
var old_text = me.text;
var old_text_len = old_text.length;
var new_text_len = str.length;
var rand_str = str + "-";
if (me.typeWriterx_itv != undefined)
{
clearInterval(me.typeWriterx_itv);
me.typeWriterx_itv = undefined;
} // end if
var itv = setInterval(function ()
{
me.text = str.substring(0, i) + me.typeWriterx_rand(rand_str, str.length - i);
dec_count = old_text_len - new_text_len - i * 2;
if (dec_count < 0)
{
dec_count = 0;
}
else
{
me.text = me.text + old_text.substr(i, dec_count);
} // end else if
++i;
if (i > str.length && dec_count == 0)
{
clearInterval(itv);
me.typeWriterx_itv = undefined;
} // end if
updateAfterEvent();
}, ms);
me.typeWriterx_itv = itv;
};
TextField.prototype.typeWriterx_rand = function (str, num)
{
var _loc1 = "";
for (i = 0; i < num; i++)
{
_loc1 = _loc1 + str.substr(random(str.length), 1);
} // end of for
return (_loc1);
};
gönderin altında yazanlar bunlar
function req(mc, req)
{
if (mc.text == "")
{
fade(req, req._alpha, 100, fadeSpeed);
}
else
{
fade(req, req._alpha, 0, fadeSpeed);
} // end else if
} // End of the function
function sendForm()
{
isSent = true;
formVars = new LoadVars();
formVars.sender = form.emailFd.emailTxt.t.text;
formVars.name = form.nameFd.nameTxt.t.text;
formVars.message = form.messageFd.messageTxt.t.text;
formVars.receiver = receiverEmail;
formVars.subject = subjectPrefix + " " + form.subjectFd.subjectTxt.t.text;
if (formVars.sender != "" && formVars.name != "" && formVars.message != "")
{
checkEmail(form.emailFd.emailTxt.t.text);
}
else
{
form.msg.t.typeWriterx(requiredError, textSpeed);
} // end else if
} // End of the function
function clearForm()
{
var _loc2;
for (var _loc2 = 0; _loc2 <= allFields.length; ++_loc2)
{
allFields[_loc2].t.text = "";
} // end of for
var _loc1;
for (var _loc1 = 0; _loc1 <= reqFields.length; ++_loc1)
{
fade(reqFields[_loc1].required, reqFields[_loc1].required._alpha, 100, fadeSpeed);
} // end of for
fade(form.emailFd.emailTxt.required, form.emailFd.emailTxt.required._alpha, 100, fadeSpeed);
form.msg.t.typeWriterx("", 7);
} // End of the function
function checkEmail(e)
{
if (e.indexOf("@") > 0 && e.lastIndexOf(".") > e.indexOf("@") + 1 && e.lastIndexOf("."))
{
require = form.emailFd.emailTxt.required;
fade(require, require._alpha, 0, fadeSpeed);
if (isSent == true)
{
formVars.sendAndLoad("contactForm.php", formVars, "POST");
clearForm();
form.msg.t.typeWriterx(successMsg, textSpeed);
} // end if
}
else
{
if (isSent == true)
{
form.msg.t.typeWriterx(emailError, textSpeed);
} // end if
fade(require, require._alpha, 100, fadeSpeed);
} // end else if
} // End of the function
function fade(who, startvalue, endvalue, fade_speed)
{
var _loc1 = new mx.transitions.Tween(who, "_alpha", mx.transitions.easing.Strong.easeOut, startvalue, endvalue, fade_speed, true);
} // End of the function
receiverEmail = "info@djkesaf.com";
subjectPrefix = "Dj kesaf Contact Form |";
var fadeSpeed = 2;
var over = 12245214;
var normal = 8370116;
var textSpeed = 20;
var requiredError = "* Lutfen Tum Gerekli Alanlari Doldurun.";
var emailError = "* Yazdiginiz Mail Gecersizidr Lutfen Kontrol Edin.";
var successMsg = "Mesajiniz Gonderilmistir. En Kisa Surede Bizzat Dj kesaf Tarafindan Yanitlanacaktir.";
System.useCodepage = true;
setProperty("", _focusrect, false);
form.sendBtn.onRelease = function ()
{
sendForm();
};
form.clearBtn.onRelease = function ()
{
clearForm();
};
form.sendBtn.onRollOver = form.clearBtn.onRollOver = function ()
{
var _loc2 = new Color(this.btnName);
_loc2.setRGB(over);
};
form.sendBtn.onRollOut = form.clearBtn.onRollOut = function ()
{
var _loc2 = new Color(this.btnName);
_loc2.setRGB(normal);
};
var allFields = [form.nameFd.nameTxt, form.emailFd.emailTxt, form.subjectFd.subjectTxt, form.messageFd.messageTxt];
var j;
for (j = 0; j <= allFields.length; j++)
{
allFields[j].border._alpha = 0;
allFields[j].t.tabIndex = j;
allFields[j].t.onSetFocus = function ()
{
Key.removeListener(keyObj);
fade(this._parent.border, 0, 100, fadeSpeed);
};
allFields[j].t.onKillFocus = function ()
{
fade(this._parent.border, 100, 0, fadeSpeed);
};
} // end of for
form.subjectFd.subjectTxt.required._alpha = 0;
var reqFields = [form.nameFd.nameTxt, form.messageFd.messageTxt];
var k;
for (k = 0; k <= reqFields.length; k++)
{
reqFields[k].t.onChanged = function ()
{
req(this, this._parent.required);
};
} // end of for
form.emailFd.emailTxt.t.onChanged = function ()
{
isSent = false;
checkEmail(this.text);
};
var isSent = false;
TextField.prototype.typeWriterx = function (str, ms)
{
var me = this;
var i = 0;
var old_text = me.text;
var old_text_len = old_text.length;
var new_text_len = str.length;
var rand_str = str + "-";
if (me.typeWriterx_itv != undefined)
{
clearInterval(me.typeWriterx_itv);
me.typeWriterx_itv = undefined;
} // end if
var itv = setInterval(function ()
{
me.text = str.substring(0, i) + me.typeWriterx_rand(rand_str, str.length - i);
dec_count = old_text_len - new_text_len - i * 2;
if (dec_count < 0)
{
dec_count = 0;
}
else
{
me.text = me.text + old_text.substr(i, dec_count);
} // end else if
++i;
if (i > str.length && dec_count == 0)
{
clearInterval(itv);
me.typeWriterx_itv = undefined;
} // end if
updateAfterEvent();
}, ms);
me.typeWriterx_itv = itv;
};
TextField.prototype.typeWriterx_rand = function (str, num)
{
var _loc1 = "";
for (i = 0; i < num; i++)
{
_loc1 = _loc1 + str.substr(random(str.length), 1);
} // end of for
return (_loc1);
};