dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] onRollOut not registering

  1. #1
    climbing shoots and ladders feigner's Avatar
    Join Date
    Jun 2003
    Location
    IOP
    Posts
    263

    [F8] onRollOut not registering

    The best way I know how to explain my problem is to show it. Go to www.wandohigh.com/index_test.html and you will see a big main flash movie smack in the middle of the page. There are dropdown menus, blah blah.

    Direct your attention to the far left drop down menu. It's the one that says "Families." Well once it's dropped down, roll your mouse out of it to the left, so that your mouse leaves the flash object. Apparently the mouse leaves the flash object too fast and flash never registers that there was a rollout, therefore never dispatching an onRollOut event, which is required to have the dropdown menu disapear! Ahh!

    Does anybody know how I can fix this?

    Thanks!
    feigner
    FEIGNER
    Before you post, do you search?

  2. #2
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,379
    What I've previously done in this situation was to use something like a hitTest to keep the _visible true. As soon as the mouse is no longer over it, it will disperse.
    Code:
    onClipEvent (enterFrame) {
    	if (hitTest(_root._xmouse, _root._ymouse, false)) {
    	} else {
    		this._visible = false;
    	}
    }
    That should be in your menu mc's actions.

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