PDA

View Full Version : Looping Button Problem



jswidorski
August 8th, 2007, 04:32 PM
I am trying to setup mouseOver actionscript code, but the menu just keeps looping until I move the mouse off...so it does as say, not as I want. I am not sure how to handle the looping. Any help would be appreciated.

To see the code in action go to http://acuform.johnswidorski.com (http://acuform.johnswidorski.com/) and look at the Product and Processes menu options.

Thanks, John



btnProcesses.onRelease = function()
{
_root.gotoAndPlay('Processes');
}

btnProcesses.onRollOver = function() {
intProcessCount++;
if(intProcessCount>3) {
frameStop = true;
}
_root.gotoAndPlay('Processes');
};


Please move this thread if it should be moved...Really a newb question...

GrndMasterFlash
August 8th, 2007, 05:13 PM
set a stop(); at the end of the time line if you don't want it to loop.
:2c: