A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: rollover question?

  1. #1
    Senior Member
    Join Date
    Apr 2003
    Posts
    138

    rollover question?

    I was wondering if you can pause a rollover. I want to have something happen on rollover, then when you rollout, i want something elso to happen but I want it to be delayed. How can i do that?

  2. #2
    The Ancient
    Join Date
    Mar 2000
    Location
    Michigan, USA
    Posts
    213
    On the button
    code:
    on(rollout){
    _root.myTimer = setInterval(myDelayFunction, 5000)
    }

    On the stage
    code:
    function myDelayFunction(){
    clearInterval(_root.myTimer);
    // Do stuff here
    }

    jahasloth

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center