ActionScript timed event Q

  • Started
  • Last post
  • 0 Responses
  • effour

    on the root of my time line i have a function with the following:

    function closeMenu(){
    _root.object.glide(Number(100), Number(100), Number(4));
    clearInterval(menuClose);
    }

    then within my movie clip, also on the root, named object, i have the following code:

    onClipEvent(enterFrame){

    _root.onRollOut=function(){
    menuClose=setInterval(_root.clos...
    }

    }

    I can figure out why it's not working. What I have is a menu that i drop down using my glide function and when the user has left the navigation area for 5 seconds i want it to roll away.

    Any suggestions??

    Thanks!