The way we have done this, is:

1. make a cool button with the rounded rectangle (with Scott Rossi's awesome gradient tool) and name it "btnBkgd"

2. create text (use any font, and Rossi's tool to "burn" it into an image so it doesn't matter if the user has the font) and position it over the button

3. group the two, and name the group "whateverRolloverButton"

4. then, in the card script:

on mouseEnter
IF the short name of the owner of the target contains "RolloverButton" THEN set the blendlevel of img "btnBkgd" of grp (the owner of the target) to 50 -- or whatever
end mouseEnter

and a mouseLeave that is similar...

That way, you can make as many buttons as you want without having to script each one. Also, the reason for detecting rollover on the group is that if you put the mouseEnter on the text or background or both, you get a weird "flickering" as the mouse goes from where the text is to the background image.

I just wrote this from memory, sorry if it is unclear, if you want me to post the whole thing let me know.



On Sep 10, 2008, at 5:21 AM, Tiemo Hollmann TB wrote:

Hello,

I have some text buttons, where I would like to realise a hover effect
(mouseover) with a (50%) opaque/transparent color of the button (like the menu items of MS Office products on Win). Up to now I can't see a solution for this. As standard properties I can only set icons for hover (which would only make sense with icon buttons, not with text buttons, no colors, nore transparent colors. If I would make my hover effect myself with mouseenter, I can't control the transparency of the button color, just solid colors.

Am I right that these are the two options for making a hover effect (icons or solid colors), or is there a trick with a workaround to create a 50% opacity hover effect? Probably is a set of icons anyway the solution of
choice.

Thanks for any hints

Tiemo







_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to