View Full Version : Button "bouncing" problem?
sogj
January 20th, 2007, 01:33 PM
I am working on a site for my husband's business (http://www.tejaslanguages.com/tejaslanguages.swf). I've been doing it for less than a day so it's not great but I have a problem with the buttons. If you mouseover them then mouseout they might just bounce down and then bounce back up. But occassionally (to recreate, try moving your mouse over them and then back out very slowly over the bottom, so that your mouse is just on the line of the button. See it shaking? It kind of bounces weird.
(PS I just uploaded the SWF because I'm about to be late for work so sorry that it's so big and crappy!)
Anyone know why it's doing that (and how to fix it)?
Thanks!
(-: sogj
safa_uk
January 20th, 2007, 01:42 PM
ok, firstly change the text in the buttons to static or make sure they are not selectable, this does cause button problems.
next thing. the
to recreate, try moving your mouse over them and then back out very slowly over the bottom, so that your mouse is just on the line of the button. See it shaking? It kind of bounces weird.is because the blue part that comes down seems to be quite big and need to be shrunk.
i also suggest u do your action script like this
create a new layer call it actions and then give each button an instance name
for an example:
instance name of movie clip button.onRollOver = function()
{
this.gotoAndPlay("over");
}
instance name of movie clip button.onRollOut = function()
{
this.gotoAndPlay("off");
}
this is just to help, if you would like me to look at the .fla file for you i will do :) and see if i can help.
if not just keep asking questions
wahiche
January 21st, 2007, 05:21 AM
I think you should check out the tutorial on www.gotoandlearn.com. (http://www.gotoandlearn.com)
It is the tutorial for animated buttons. It is exactly what you want to do and is very easy to follow, Lee Brimelow is a genius and you should bookmark this site, for future reference.
I hope this helps.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.