A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Create menus with buttons

  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    10

    Create menus with buttons

    I decided to create a flash file where there is a single button on the main stage that acts as a menu. I created an "Over" and "Down" state. The "Over" state causes the button to change to a different color when a user hovers over it. In the "Down" state, I created two extra buttons - one below the other and I applied a getURL command to them. Currently, when a user clicks the button and brings the submenu up, it disappears when the user tries to select an item. All the states are on a single layer, and there is no "Hit" state. How do I get the submenu to stay once a user drags the mouse off the main button?
    Attached Files Attached Files
    Last edited by Black Wolf; 12-09-2006 at 08:20 PM.

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    You cannot use a button. You must use a movieclip and add a stop when the menu comes down. Also you cannot have a menu with buttons inside of a button or movieclip, since the button behavior will prevent the buttons inside from being recognized by the mouse as buttons. Make a separate Movieclip.
    - The right of the People to create Flash movies shall not be infringed. -

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