I’ve got some pretty basic buttons with text labels on them. The hover and pressed states work as expected but if the user’s cursor rolls over the text within the button…then the hover state stops.
I understand why it’s happening, but surely there is an easy way to make the text layer not interfere or ‘come between’ the user’s cursor and the button, where the hover state flips on and off.
I’ve used Flash a lot and seemed to be able to always work around this.
You could use the innerHTML of the button to create the text for your label. Double click on the button, then click the small pencil icon that appears just underneath the button to edit its innerHTML… also You can do this edit by selecting the button then choosing “Edit Elements Inner HTML” (“Edit” menu) or using the keyboard (option-command-E).
Alternately…
Select the text box you’ve created over the button and, in the “Actions” panel of the Hype interface, select the “Ignore all pointer events” checkbox. (Please see image below.)
YAY! Here's what I would have suggested for the buttons. (for the text label, I checked the box for "ignore all pointer events") Jim beat me though... BUTTON.hype.zip (14.4 KB)