Hello all,
I followed the tut:
http://www.kirupa.com/developer/mx/preloader_transition.htm
Some off the exterval swfs are slideshows with a setInterval.
To no ones surprise the interval is not being cleared.
When one manually hits a button to clearInterval(myInterval) and then loads another swf it works fine.
I am under the assumption that the end user will not hit the stop_btn before loading another gallery; therefore, how would I clearInterval when another swf is loaded into the empty_mc?
I went through the forums that dealt with this problem, but I didn’t understand them. I am not that proficient in using AS, but I am learning.
I would appreciate any help,
Best Regards,
Brian
figured it out, after I read more about the clearInterval:
your_btn.onPress = function() {
clearInterval(content.intervalName);
}
works just fine
Brian:beam: