yourbutton.onRollOver = function

clearInterval(autoID);

}

yourbutton.onRollOut = function() {
setInterval(autoPilot, 5000);
}

On 3/26/07, Raphael Villas <[EMAIL PROTECTED]> wrote:

I have got a setInterval like this:

-------------
var autoID = setInterval(autoPilot,5000);

function autoPilot():Void {
        nextScene();
};
-------------

If a rollover occurs, I'd like to pause the setInterval until the
rollout occurs. Is there a way to suspend the setInterval during a
rollover and then restart it onRollOut?

Thanks in advance...
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to