Happy New Year to Everyone Here at Kirupa!
I got this little news letter thing that I am trying to get working heres the layout of the little guy:
All in one MC called: newsletter_mc
A dynamic text field, a button and a background image.
when user enters email address and presses button time line goes to nextFrame and plays (text field and button fades out.) thank you appears and then goes back to frame one (text field fades in and button fades in) and stops on frame 5.
soooo. with that being said I am having issues still, here is the AS i have written:
Frame 5 (because items fade in)
(dynamic text field variable is email, this is within a comp movie clip)
stop();
this.comp.email.text = "Enter Email";
this.comp.email.onSetFocus = email.text = "";
on button-
on (release) {
if (this.comp.email.text eq "") {
stop();
} else {
loadVariablesNum("email.php", 0, "POST");
gotoAndPlay(6);
}
}
on frame 12 after everything fades out.
gotoAndPlay(2);
Basically a text field that user puts in email hits button it all fades out then comes back and sets it self to “” (blank) the problem i am having is that the email stays in the field. Any ideas?
Thanks inadvance yall.
MT