PopUp box on setInterval with timer
Simply put I have a pop-up box that appears on a setInterval timer.
However, I need this pop-up to also run on a timer that if nothing is pressed on the pop-up it goes to another frame.
This is the script I have so far:
popup._visible = false;
var timer=setInterval(timeOut,6000);
function timeOut():Void{
_root.popup._visible =
!_root.popup._visible;
clearInterval(timer);
}
Any help for this to then time again and go to another frame would be appreciated