hallo:
here is my problem. I have a slideshow that I wish to pause when I rollOver a button, and to resume when I rollOut.
here is the the interval part of the code:
[color=Black]----------------------------------------------[/color]
**var ssInt = new Number();
ssInt = 100;
intObj = new Object();
intObj.newInt = function(){
trace(“hi”);
}
function setIt(){
var ssInterval;
[color=SeaGreen]ssInterval[/color] = setInterval(intObj, “newInt”,ssInt);
trace(“set?”);
}
function [color=Magenta]clearIt/color{
[color=DarkOrange] clearInterval/color;
trace(“cleared?”);
}
back_mc.onRelease = function(){
[color=Magenta]clearIt/color;
}
setIt();
stop();
**[color=Black]----------------------------------------------
i’m putting the setInterval() and clearInterval() actions inside functions so that I can reuse them (as I would like the movie to stop when you rollover any of 3 buttons, and begin again when you rollout). if I rip the code out of the functions and paste it into the rollover/out functions of each of the buttons it works, but not when I call the setIt(), clearIt() functions outlined above. Any ideas?
thanks,
Joe
[/color]