Questo è il codice flash per me arabo!
function clearField2()
{
txtField4.text = label1;
if (_currTextField == String(txtField4))
{
txtField4.text = "";
} // end if
} // End of the function
function clearField()
{
txtField1.text = "";
txtField2.text = "";
txtField3.text = "";
} // End of the function
selection;
label1 = "Message:";
var _currTextField = "";
txtField1.tabIndex = 0;
txtField2.tabIndex = 1;
txtField3.tabIndex = 2;
txtField4.tabIndex = 3;
txtField4.onSetFocus = function ()
{
_currTextField = String(txtField4);
if (this.text == label1)
{
this.text = "";
} // end if
};
txtField4.onKillFocus = function ()
{
if (this.text == "")
{
this.text = label1;
} // end if
_currTextField = "";
};
clearField();
clearField2();
btnClear.onRollOver = function ()
{
this.gotoAndPlay("over");
};
btnClear.onRollOut = btnClear.onReleaseOutside = function ()
{
this.gotoAndPlay("out");
};
btnClear.onRelease = function ()
{
clearField2();
clearField();
};
btnSubmit.onRollOver = function ()
{
this.gotoAndPlay("over");
};
btnSubmit.onRollOut = btnSubmit.onReleaseOutside = function ()
{
this.gotoAndPlay("out");
};
btnSubmit.onRelease = function ()
{
if (txtField1.text == "" || txtField2.text == "" || txtField3.text == "" || txtField4.text == "")
{
gotoAndStop(3);
}
else
{
_parent.contactform.loadVariables("email.php", "POST");
gotoAndStop(2);
} // end else if
};
stop ();