Question for Time

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”);
}
}