Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get timer for sound clip

Status
Not open for further replies.

disfasia

Programmer
Apr 20, 2001
378
CA
i have a wav sound which i have put into an mc. i have tried and tried ot make this think load and then pause three minutes and then replay every three minute...

Does anybody know how to do this?

All help is greatly appreciated!

regards,

disfasia
 
Here is a help file that explains that in detail...Should help.

Ya' Gotta Love It!
sleepyangelsBW.jpg
 
thanks a lot...i ended up using the following script putting my sound in the mc in the second frame.

onClipEvent (load) {
gotoAndPlay (2);
}
onClipEvent (enterFrame) {
currentTime = int(getTimer()/1000);
if ((time+180)<=currentTime) {
this.play(2);
time = currentTime;
}
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top