A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Menu and submenu

  1. #1
    Senior Member
    Join Date
    Nov 2000
    Location
    Jerusalem, Isreal
    Posts
    254

    Menu and submenu

    Hey all,
    I'm trying to make amenu that opens up with an "onRollOver" event-handler, and will close with an "onRollOut" - meaning, once the mouse is on the MC it will open and once it has left it, the menu will shut. the thing is, due to the fact that "onRollOver/Out" preform as long as the mouse is on it, i get the effect of the menu always trying to open it self. is there a way of making it work well?
    thank you.
    Matti Bar-Zeev,
    scriptaholic.

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    The trick is to use only rollOver, until the menu is open. After that you can have o rollOut button covering the area outside the menu.
    I dont know wethetr you use scripts or tweening or....but thats the general idea.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

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