Skip to main content
Participant
June 22, 2024
Question

countdown timer in adobe animate

  • June 22, 2024
  • 1 reply
  • 224 views

hi everyone, i make a questions with multiple answer. now i have a problem at countdown timer for 60 seconds for all questions (total question=10). i already make the place for countdown and assigned it as dinamic text 'timer_txt'. the countdown will start at frame 2 after user click 'start' button.

1) is that a problem to put at frame 2?
2) actually where should i write/place the code for timer? 

i watched many yt videos, ask chatgpt gemini. but when i place the code, it show 6 then dissapear, after a few second, it show 3 2 1 0.

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    June 23, 2024

    make sure you textfield is wide enough to show all the digits

    embed your font and include all the characters you want to display

     

    1) no

    2) there's no must-be-here requirement for code.  but the code's content and it's location matter.  ie, you need to be able to referene the textfield, which you apparently are able to do.  so your code's placement is not the problem.

     

    what code are you using (which will also tell us whether you're usng as3 or js)?