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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

:: (stop) not working after timeout pause ::

Status
Not open for further replies.

MaTs4d

Technical User
Feb 13, 2002
48
US
Hi everybody, have a problem thats driving me crazy!

Im using the following code for PAUSE (on flash 2004)

stop();
myPause = setInterval(holdIt,3000); //4 secs
function holdIt(){
clearInterval(myPause);
play();
}

well thing is the (stop) wont work unless all those pause events clear, is there a DEFINITE and final STOP function to stop the previous :Mypause: and stop everything overridign the pause?

I have many pause events in a timeline but the stop wont work as the other one has priority, any ideas?

Thanks a million !!!

Matt -
 
well think I figured out myself , I added a

clearInterval(myPause)

whenever the menu is called , just to clear the pauses on the other areas. and its working..
someday I will figure out clean-perfect flash coding, instead of coming out wiht all these crazy fixes

THanks for reading !!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top