Delay in Rollover Response

I have a button that sits on the left hand side of my flash movie. When the user rollsover the button the user is navigated back to the first frame. My problem I want to make it so that the button taking the user back to the home page only after the user hovers over the button for say a second instead of responding instantly with just the on (rollOver) {} function.

I think that I can use a timer, when the user rollsover the button a timer would be triggered, once the predetermined time lapses I would need to be able to check if the user was still hovering over the button the responded, if not don’t responded. I am not sure how to check if the user is still over the button.

I have seen a delay with tool tips like on this forum page. Toll tips do not popup instantly when you roll over a tread… they only popup when the user pauses over the thread. I think however they are doing this would do the trick.

Anyway any help will be much apprieciated

on the timeline
//button instance name myButton
function myRollOver() {
clearInterval(myInterval);
trace(“well rolled”);
}
myButton.onRollOver = function() {
myInterval = setInterval(myRollOver, 1000);
};
myButton.onRollOut = function() {
clearInterval(myInterval);
};

thaks this worked great