Click to See Complete Forum and Search --> : flash text


Brett
08-21-2000, 12:31 AM
I have a button in Flash4 consisting of layer with one piece of text. I have
"over", "down", and "hit" set to change colors of text and on "hit" go to
a URL.

It all works fine BUT the mouseover only works on the TEXT ITSELF and NOT
THE WHITESPACE or a RECTANGLE. How do I correct this?

Thanks.

Michael Day
08-22-2000, 09:38 PM
"Brett" <brettstil@yahoo.com> wrote:
>
>I have a button in Flash4 consisting of layer with one piece of text. I
have
>"over", "down", and "hit" set to change colors of text and on "hit" go to
>a URL.
>
>It all works fine BUT the mouseover only works on the TEXT ITSELF and NOT
>THE WHITESPACE or a RECTANGLE. How do I correct this?
>
>Thanks.

The key here is the concept of the "hit" frame. It's sole function is to
define the area of your button that accepts mouse events. Make sure that
you have a keyframe defined for the "hit" frame. Select the "hit" frame,
and then draw a solid object (rectangle, circle, etc.) that is the shape
of your button. This object will be invisible when published, but now your
button should respond no matter where you pass the mouse over it.

Cheers,
Michael