Hi All,
I've been importing video into Flash MX and want to create a countdown timer. So far, I've managed to get it to countdown in seconds, but would like to display minutes and seconds 00.00.
I've created a MC and nested it within the video MC. the code looks like.
// Frame 1
totalF =_parent._totalframes;
totalT = (totalF/25)/60;
currentT = ((_parent._currentframe)/25)/60;
actualT = Math.round((totalT-currentT)*100);
_parent.timer = "TIME " + actualT +"s";
// Frame 2
gotoAndPlay(1);
My math is lame, and I wondered if anyone could help correct the script / equations that would enable me to break the time down into minutes and seconds.
Thanks
HK