# Question for Time

**URL:** <https://forum.kirupa.com/t/question-for-time/217815>\
**Category:** flash\
**Created:** [March 2, 2007, 3:22am UTC](https://forum.kirupa.com/t/question-for-time/217815 "2007-03-02T03:22:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![everlastingfuel](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/everlastingfuel/32/3337_2.png) [@everlastingfuel](https://forum.kirupa.com/u/everlastingfuel)\
**Post date:** [March 2, 2007, 3:22am UTC](https://forum.kirupa.com/t/question-for-time/217815/1 "2007-03-02T03:22:27Z")

</div>

Hi people  
I am trying to make my .swf file start at a specific seconds of the minute.  
Example: If the whole clip started at 0-9th sec, i want it to start/execute soemthing at the 10th sec of my systems clock;  
if the whole clip started at 10-19th sec, i want it to start/execute soemthing at the 20th sec;  
Will appreciate it if some experts here can help me. Below is my code.  
Thanks!  
//–  
started = 0;  
secs = new Date().getSeconds();  
if (secs == 0) {  
started == 1;  
} else if (secs\>=1 && secs\<10) {  
started == 1;  
} else if (secs\>=10 && secs\<20) {  
started == 2;  
} else if (secs\>=20 && secs\<30) {  
started == 3;  
} else if (secs\>=30 && secs\<40) {  
started == 4;  
} else if (secs\>=40 && secs\<50) {  
started == 5;  
} else if (secs\>=50 && secs\<=59) {  
started == 6;  
}  
secs2 = new Date().getSeconds();  
if(started==1){  
if(i dont know what to put here){  
gotoAndPlay(“start”);  
}  
}  
else if(started==2){  
if(i dont know what to put here){  
gotoAndPlay(“start”);  
}  
}  
else if(started==3){  
if(i dont know what to put here){  
gotoAndPlay(“start”);  
}  
}  
else if(started==4){  
if(i dont know what to put here){  
gotoAndPlay(“start”);  
}  
}  
else if(started==5){  
if(i dont know what to put here){  
gotoAndPlay(“start”);  
}  
}  
else if(started==6){  
if(i dont know what to put here){  
gotoAndPlay(“start”);  
}  
}
