Hello all. I am a web designer and have used flash for years; but I am definitely NOT an action-script person. I am using flash MX 2004
(therefore AS2). I want to make a 10 minute countdown timer utilizing AS2 and Dynamic Text. The final product would be on a green background and be used to overlay another video (using green screen software). Anyway; I want to start the timer at 10:00 and have it holdat 00:00.
Unfortunately; pretty much all the tutorials out there are countdown till a date or time and NOT a simple countdown for X amount of minutes. Like I mentioned flash is not the issue for me....the AS is tho so guidance here would be awesome.
@ angelhdz both files result in a "unexpected file format" error.
@ fruitbeard can't get this to work. My dynamic text Var is named CountDown as you requested and I added an new layer where I copied the code yet nothing appears (after alt enter). Good thing is that there is no error either. I see you have also implemented hours and milliseconds...neither will be needed. All I require is 10 minute countdown in the following format 9:59 ---> 00:01 --> 00:00.
http://www.mediafire.com/?chl6mraphje1d05 Fixed. The timer starts at 10:00:00 then it begin to countdown 9:59:30 and it keep countdown until 0:0:0 then HOLD there until action is applied.
Read the first post...he/she said clearly he is not an actionscript person, so I doubt he will be able to understand your script, and stop the counting if it reaches 00:00 ....
Tantrix, check up my .fla , is fixed, and is MX 2004 compatible, and it does exactly what you asked for. Let me know if you will use this, so I don't lose my time here.
Thank you BOTH.....for your help. Like I mentioned I am NOT a AS person (even though I have a very basic knowledge of scripting AS is rather alien to me). That being said I do need to be walked through the process. I have done a million flash projects (web banners, menus etc) but even menus only use VERY basic scripting. Beyond that I am 100% lost.
As far as my present questions are concerned I would have to say fruitbeard more closely suites my needs at this time.
I value both options and as you both know with AS there are 100 ways to do the same thing...
Actually fruitbeard I have edited your first code suggestion to remove the milliseconds and the hours and it works great! I wanted the dynamic text feature so I could alter font with a single click.
Thank you for your assistance...much appreciated Since I have you here I have one more question.
What is (in your opinion) the best way to export my countdown to video file? Quality is the most important thing here.
Keep your hair on Angel, he also said in first post.
" I want to make a 10 minute countdown timer utilizing AS2 and Dynamic Text "
I'm just passing time.
And that's exactly what i gave to him, a simple AS2 countdown with dynamic textbox on stage to visualize the countdown. The fact that i didn't added the ":" to separate the minutes, the seconds and the miliseconds, and the "0" after the minutes, doesn't mean my script is not what he asked for. If you look at my last .fla you see it clearly. Also my script holds at 0:0:0 as he said. Anyway, i'm just passing time to. I'm busy with my own proyects. I'm glad your script was choosen fruitbeard.
Actually fruitbeard I have edited your first code suggestion to remove the milliseconds and the hours and it works great! I wanted the dynamic text feature so I could alter font with a single click.
Thank you for your assistance...much appreciated Since I have you here I have one more question.
What is (in your opinion) the best way to export my countdown to video file? Quality is the most important thing here.
Export it to Quicktime format. (You have to have any version of Quicktime installed on your system, but its the best quality format for exporting flash)