Copy link to clipboard
Copied
Hi, I have managed to create an action that triggers an animation when hovering on a button, which is a text.
The hover has effect only if the mouse is on the text. If the cursor is within the area of the text, but doesn't touch the font, for instance the space between two letters, the hover is not triggered.
Is there a way to keep a transparent text and having the hover being affected by a rectangular area, regardless if it is filled by the font or not?
Thanks in advance.
use a (or for html5, nearly) transparent rectangle in your text movieclip.
Make a button with only the hit area as a rectangle and put it over your text. The button will automatically be transparent.
In the past the rectangle would have shown as transparent blue but it does not anymore.
You can put this button in your text movieclip or you can just put it over the movieclip outside of it.
In anycase, give this button an instance name and address the button instead of the movieclip.
I hope this makes sense.
Copy link to clipboard
Copied
use a (or for html5, nearly) transparent rectangle in your text movieclip.
Copy link to clipboard
Copied
Thanks, I did it alpha value 1, but it didn't work.
Copy link to clipboard
Copied
Make a button with only the hit area as a rectangle and put it over your text. The button will automatically be transparent.
In the past the rectangle would have shown as transparent blue but it does not anymore.
You can put this button in your text movieclip or you can just put it over the movieclip outside of it.
In anycase, give this button an instance name and address the button instead of the movieclip.
I hope this makes sense.
Copy link to clipboard
Copied
Thanks, I will do the next time.
Meanwhile I have created movie clips with alpha 1, in a different layer, aligned to the text... it works