Nic Thamaire Posted April 16, 2004 Share Posted April 16, 2004 Im trying to set a countdown in second for some website,got any hint? Link to comment Share on other sites More sharing options...
2 blaazed Posted April 16, 2004 Share Posted April 16, 2004 http://www.12ozprophet.com/forum/images/lockfolder.gif'> Link to comment Share on other sites More sharing options...
heavyLox Posted April 16, 2004 Share Posted April 16, 2004 this is from the top of my head so it might need a tweak. myTimer=new Date(); secs=myTimer.getSeconds; elapsed=15; // depending on how you want the countdown to start// function time_it(){ this.onEnterFrame=function(){ if(sec>elapsed){ //countdown done } } } time_it(); Link to comment Share on other sites More sharing options...
Guest imported_El Mamerro Posted April 16, 2004 Share Posted April 16, 2004 What exactly is it you need to do? Show a countdown displaying the numbers, or just count silently? You can build something with the getTimer() or setInterval() functions, or you can ghetto it out and place a keyframe every 12 frames (in a 12 fps movie), but unless I know what you're trying to do I can't say specifically. Link to comment Share on other sites More sharing options...
heavyLox Posted April 16, 2004 Share Posted April 16, 2004 mams are you getting code nasty these days? Link to comment Share on other sites More sharing options...
Dirty_habiT Posted April 16, 2004 Share Posted April 16, 2004 I wouldn't even say "these days".... Mamerro's been real keen on that programming stuff since I've "known" him.... years. Link to comment Share on other sites More sharing options...
Nic Thamaire Posted April 16, 2004 Author Share Posted April 16, 2004 this is a countdown that will display the time left since the beginning of an event in april of next year.i want it in second,and it will be visible on the first page of this site.. thanx for your help yall.. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.