# Age Verification

**URL:** <https://forum.kirupa.com/t/age-verification/205064>\
**Category:** flash\
**Created:** [October 25, 2006, 8:02pm UTC](https://forum.kirupa.com/t/age-verification/205064 "2006-10-25T20:02:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neuhaus3000](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/neuhaus3000/32/168_2.png) [@Neuhaus3000](https://forum.kirupa.com/u/Neuhaus3000)\
**Post date:** [October 25, 2006, 8:02pm UTC](https://forum.kirupa.com/t/age-verification/205064/1 "2006-10-25T20:02:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Templarian](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/templarian/32/7152_2.png) [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Post date:** [October 25, 2006, 8:57pm UTC](https://forum.kirupa.com/t/age-verification/205064/2 "2006-10-25T20:57:43Z")

</div>

?? 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.)

```auto

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.

---

<div class="post-metadata">

**Author:** ![Neuhaus3000](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/neuhaus3000/32/168_2.png) [@Neuhaus3000](https://forum.kirupa.com/u/Neuhaus3000)\
**Post date:** [October 25, 2006, 9:02pm UTC](https://forum.kirupa.com/t/age-verification/205064/3 "2006-10-25T21:02:19Z")

</div>

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

neuhaus3000

---

<div class="post-metadata">

**Author:** ![Templarian](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/templarian/32/7152_2.png) [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Post date:** [October 25, 2006, 9:04pm UTC](https://forum.kirupa.com/t/age-verification/205064/4 "2006-10-25T21:04:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Neuhaus3000](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/neuhaus3000/32/168_2.png) [@Neuhaus3000](https://forum.kirupa.com/u/Neuhaus3000)\
**Post date:** [October 25, 2006, 9:05pm UTC](https://forum.kirupa.com/t/age-verification/205064/5 "2006-10-25T21:05:50Z")

</div>

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

Ok… Thanks again!

neuhaus3000
