How can I make this button light up when you put your mouse over it?
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: How can I make this button light up when you put your mouse over it?

  1. #1
    Member
    Join Date
    May 2003
    Posts
    95

    How can I make this button light up when you put your mouse over it?

    Hello,

    I know how to create a basic button and have the color change in the "over" state. However, this button has a flash effect when you rollout from the button. The flash movieclip is in the "up" state of the button, and when I try to add a color in the "over" state, it disrupts the movieclip and doesn't work.

    Can you help? I just want the button to light up when you put your mouse over it and when you take your mouse off, for the flash effect to occur...

    I'll attach my file so you can see this better!

    Thanks!
    Attached Files Attached Files

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,150
    Buttons can not have a mouse out animation. You need to make it the other way around.

    You make a movieclip ( that acts like a button ) with all animation on its timeline. Then you put a button inside the movieclip to navigate the animations.

    Simple example...

    www.pellepiano.com/tester/fk:_buttonMC.fla

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

  3. #3
    Member
    Join Date
    May 2003
    Posts
    95
    Pellepiano,

    At first the link didn't work, but then I was able to find the file by going to:

    http://www.pellepiano.com/tester/

    I took a look at the file.. thanks, it was very helpful!

    I've fixed the button using your method. For those interested, I'll post my fixed version.

    Thanks!
    Last edited by sirenetta1; 01-17-2005 at 04:48 PM.

  4. #4
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,150
    I spelled it wrong, sorry.

    www.pellepiano.com/tester/fk_buttonMC.fla

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

  5. #5
    Member
    Join Date
    May 2003
    Posts
    95
    Thanks for the new link... Here is my fixed version.
    Attached Files Attached Files

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

Poll by Flashkit.com