Jump to content


Inputing DOB, and getting your birth day


  • You cannot reply to this topic
1 reply to this topic

#1 Clandestine

    * Forum Police *

  • Members
  • PipPipPip
  • 833 posts
  • Gender:Male
  • Location:Redondo Beach, CA

Posted 24 January 2006 - 09:23 AM

alright, i have a code that tells me what day you are born only if i type you b-day in the actionscript. and my question is how can i have a input box, and when they type in their birthday, it will display what day they are born inside a dynamic text box. heres the code of what i have atm, of just the basic code where i have to put the b-day in to get it to display the day.

dayArray = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
myBday = new Date(87,1,23);
myBDOW = myBday.getDay();
day_txt.text = dayArray[myBDOW];

thanks

-Devyn

#2 FlashGameboy

    Young Padawan

  • Members
  • Pip
  • 139 posts
  • Gender:Male
  • Location:Somewhere over the rainbow
  • Interests:Mostly flash but im trying to work on Maya and some<br />signiture design

Posted 29 January 2006 - 05:19 PM

All you have to do is use the text tool and type something then
in the properties box change it from a static text to a input box.
Then assign a var to it and control it with the var.


:D Hope it works ^_^





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users