Thanks for the reply greeneel. And sorry about the mixup. Your explanation makes sense to me now. I didn't realize that you had changed the hit area tweening time to 0.01. I thought you had just removed the elastic effect.
My only issue now is that i am trying to apply this with the code I already have. I am using an array to store all of my buttons and am using event.currentTarget; to determine which button is being moused over or not. How would I apply that to two separate movieclips (one for the actual button and one for the hit area)? Hopefully that makes sense.
If you look in my sample file, you'll see how I set things up. I'm sure its something simple - I'm just relatively new to actionscript 3 and can't seem to figure it out.
Thanks again for the help!
Main Topics
Browse All Topics





by: greeneelPosted on 2009-08-17 at 10:53:04ID: 25116651
Hello Furio13
i apologies for not being very clear. where i said the bounce i should have said the tween.
there will always be a level of error when the tween effects the very button you click to activate the tween.
because the tween moves slow to suit your effect and when the mouse is located just close
enough to be over the button and still off when you move it slowly into a position!
the script will still run both functions. it wont matter which transition you use as long as
the hit point is the object being affected in size by the tween! this is why i changed the hit point to another object
that does not have to move slowly to its larger position. this way the hit point is resized to a larger size in 0.01 secs
that way it is impossible for the user to have the mouse cursor in that area where the glitch will occur because the
hit point has already expanded over the mouse. and when it rolls out the hit point is reduced to a smaller version just as fast
making it impossible again for the glitch occur.
please let me know if you understand
GE