Age Verification

Hello everyone,

Is there a way that I can simply add an “age verification system” in Flash ? :pa:
Any ideas will be appreciated.

Thanks!

neuhaus3000

?? just create a text box with something like

1.) [XX]/[XX]/[XXXX]
where the [ ] are text boxs.
2.) Instance: “month” “day” "year"
3.) Create button/mc with instance as enter
4.)


enter.onRelease = function(){
 if(parseInt(year) > 1986){
  gotoAndStop(2);
 }
}

just use the built in date stuff and minus 18 from the year and check off that.

That’s exactly what I’m looking for… Thanks ! :smiley:

neuhaus3000

Check it again i was still fixing it had a mistake on it…

[QUOTE=Templarian;1985462]Check it again i was still fixing it had a mistake on it…[/QUOTE]

Ok… Thanks again!

neuhaus3000