# Input Text

**URL:** <https://forum.kirupa.com/t/input-text/24890>\
**Category:** flash\
**Created:** [July 6, 2003, 8:00pm UTC](https://forum.kirupa.com/t/input-text/24890 "2003-07-06T20:00:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![naked\_chicken](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@naked\_chicken](https://forum.kirupa.com/u/naked_chicken)\
**Post date:** [July 6, 2003, 8:00pm UTC](https://forum.kirupa.com/t/input-text/24890/1 "2003-07-06T20:00:11Z")

</div>

alright i know this is a really easy question but im making a movie and i want to make it where people have to be 13 or higher to view it so i put a place for input text but i dont know the action script for making it where if they put above 13 they can watch the movie

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 6, 2003, 8:07pm UTC](https://forum.kirupa.com/t/input-text/24890/2 "2003-07-06T20:07:20Z")

</div>

hey man

its quite easy…

1. Make a textbox and set it to “Input” (from Static) in the properties panel. Right under where it lets u make it either a dynamic or input box, type in “age” or something of that sort… This will name the textbox “age” (or whatever name u gave it)
2. Make a button
3. Make sure the button is selected and open up the actions panel.
4. In the actions panel you can have something like this:

[AS]  
on(release){  
if(Number(age.text) \> 13){  
// viewer is old enuf  
}else{  
// not old enuf (naughty little child!)  
}  
}  
[/AS]

Hope that helps

Btw… make sure the button and the texbox are in the same “level” as in they should be in the same movieClip or both on the timeline (cause I used a relative path):nerd:

-Aditya  
:thumb:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 6, 2003, 8:10pm UTC](https://forum.kirupa.com/t/input-text/24890/3 "2003-07-06T20:10:35Z")

</div>

It’s not useful to put a age-check thingy on your site. Anyone below thirteen will be smart enough not to fill in anything lower than 13 …

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 6, 2003, 8:13pm UTC](https://forum.kirupa.com/t/input-text/24890/4 "2003-07-06T20:13:15Z")

</div>

what voet said is true… its kinda pointless these days…

I mean if 12 year olds out there are using Kazaa and are making stuff in Flash and everything… its kinda pointless…

But a good thing about it is if the kid lies and enters your site and his mom or dad says you are a bad man… you can just tell em their son is a lying freak :crazy: and is at fault himself 😛

-Aditya

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 6, 2003, 9:21pm UTC](https://forum.kirupa.com/t/input-text/24890/5 "2003-07-06T21:21:00Z")

</div>

alright thanx all

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2003, 12:01am UTC](https://forum.kirupa.com/t/input-text/24890/6 "2003-07-07T00:01:32Z")

</div>

you’re most welcome… just wish u were a naked\_chick though :beam:

-Aditya
