Closed Thread
Results 1 to 5 of 5

Thread: Button into Button

  1. #1
    ^NyAw^ is offline Newbie
    Join Date
    Apr 2009
    Posts
    7
    Rep Power
    0

    Button into Button

    Hi,

    I'm trying to create a button that will act as a menu. When the user moves the mouse over it, the button play its movie increasing the button height and showing some other buttons into it. When the user moves the mouse out it, the button plays another movie decreasing the button height.

    The problem is that when the mouse enters one of the internal buttons, the "rollOut" event is sent to the main button and it plays the second movie.

    Anyone knows if there is another way of doing this or solving this?

    Thanks,

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: Button into Button

    What about hover, would that work? JavaScript Hover Buttons

  4. #3
    ^NyAw^ is offline Newbie
    Join Date
    Apr 2009
    Posts
    7
    Rep Power
    0

    Re: Button into Button

    Hi,

    Thanks but I'm trying to make it without using any kind of programming except ActionScript.

    The button have to be used by another people that creates the main web and they don't know javascript.

    Thanks,

  5. #4
    ^NyAw^ is offline Newbie
    Join Date
    Apr 2009
    Posts
    7
    Rep Power
    0

    Re: Button into Button

    Hi,

    I'm trying to do something similar to this web menu:
    "dreamworksanimation.com"

    I think that there is a Button that contains other buttons inside it, but maybe I'm mistaken.

    Any help how to do this will be helpful.

    Thanks,

  6. #5
    userman122 is offline Newbie
    Join Date
    Mar 2010
    Location
    Norway
    Posts
    10
    Rep Power
    0

    Re: Button into Button

    do you mean like,

    Code:
    on (rollOver){
    this._y = this._y - 20
    }
    on (rollOut) {
    this._y = this_y + 20
    }
    ?
    That makes the boutton move 20 pixels up when you roll over it, and 20 pixels back down when you leave the boutton.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. LED on/off button?
    By toxifyshadow in forum Computer Hardware
    Replies: 2
    Last Post: 04-25-2010, 12:30 PM
  2. Usb button
    By mab1990 in forum C# Programming
    Replies: 6
    Last Post: 04-23-2009, 10:39 AM
  3. Need som help with VB6 button
    By Qvintus in forum Visual Basic Programming
    Replies: 6
    Last Post: 05-07-2008, 03:57 AM
  4. Buy Button
    By Ronin in forum Marketing
    Replies: 6
    Last Post: 12-23-2006, 07:37 PM
  5. The X button
    By dirkfirst in forum C# Programming
    Replies: 3
    Last Post: 07-17-2006, 07:42 PM

Tags for this Thread

Bookmarks

Posting Permissions

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