clearInterval

this seams to be a simple thing to do…but for some reason it’s not working
i’ve a mc in timeline (quintaSlide):
_root.introAnim.quintaSlide

inside this one i set a interval:
var tempoQ:Number = setInterval(goframe, 6000);

how can i clear this interval from _root?!

try…
clearInterval(_root.introAnim.quintaSlide.tempoQ)

if not then try…
_root.tempoQ = setInterval(goframe, 6000);
and then clearInterval(_root.tempoQ)

pffff…
thx, it works!
I was doing that, but this happen me a lot, when calling the clearInteval before I had a “play” that moved the mc introAnim to another frame (where no longer existes the quintaSlide) so the clear would find nothing o clear…

just change the order of the code and it works
:wink: