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();
}
}
Embeded SWF loading event
-
well... I know this place has pretty much been killed by the admins and is
in it's death throes but oh well. I'm trying to use Embed SWFs in a project
for ...
6 days ago
0 comments:
Post a Comment