txt1.text="";
custdetails_btn.addEventListener(MouseEvent.CLICK, popup);
function popup(event:MouseEvent):void {
if( cust_name.text=="" || cust_email.text == "" )
{ txt1.text="Please enter Name and Email";
}
else if(cust_email.text == "" ||
cust_email.text.indexOf("@") < 0 ||
cust_email.text.indexOf(".") < 0 ||
cust_email.text.indexOf(" ") > 0 )
{
txt1.text="Please enter valid email";
}
else
{
MovieClip(root).play();
}
}
Long time no chat
-
Woah; I haven't visited FlashKit in over 20 years but I though of it
recently and apparently I still have access to my account after 24 years.
It's so cool...
1 month ago
0 comments:
Post a Comment