Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : clearInterval initiated by a loaded swf?


waveturtle
4/11/2004 11:47:46 PM
I have a slide show (swf) that loads into a frame in another movie. I used
setInterval to autoplay the slideshow, and I used a btn to clear the interval
by name and it still affects my whole movie. I can't get the interval to
clear...

Is there something I missing?

Help?
thank you
urami_
4/12/2004 8:55:25 AM


[quoted text, click to view]

Is hard to say based on description . You did not even give us any info on level numbers or targets
name . There can be really way too many possibilities you missed something somewhere.

All I can do is show you interval and clearing , just so you can compare and see if you have similar
arraignment :

intID = setInterval(abcd, 1000);
function abcd() {
trace("1 second ");
}

If the interval is in _level2345
you would clear it using :

clearInterval(_level2345.intID);

--

Regards


urami_*



<no>
http://flashfugitive.com/
</no>

waveturtle
4/12/2004 9:36:10 AM
I've targeted a movie clip...I'm sorry I was so vague, but as a credit to the
shear volume of knowledge that exists within this forum, you solved my problem.
I didn't name my target for the clearInterval action.

Thank you
AddThis Social Bookmark Button