A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: user input to set how much to countdown

  1. #1
    Member
    Join Date
    May 2001
    Location
    Cairo, Egypt
    Posts
    32

    user input to set how much to countdown

    Hi
    I am trying to make a countdown that will countdown to a time during the day that is specified by the user. They would type in a time i.e. 19:00 into a input text box and then press start and it would update the actionscript for the countdown which is in scene two.

    Not sure how to get the actionscript in scene 2 to update itself from what the user types in.

    Here attached is the file i am working on.

    Any help would be appreciated. Or does any body know of any tutorials that might help me.
    Attached Files Attached Files

  2. #2
    Tai'shar Manetheren! skierbit's Avatar
    Join Date
    Dec 2000
    Location
    Provo, Utah
    Posts
    407
    before you move onto the next scene (button press or AS) you need to get what is in the text field and make it a number. You can do it in just one line of code! Then, (assuming your countdown is already working) you just give it this variable.

    _root.countdown = Number(myText_txt.text);

  3. #3
    Member
    Join Date
    May 2001
    Location
    Cairo, Egypt
    Posts
    32

    thanks

    thanks i'll tray that

    ta

    dan r

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center