Page 1 of 1

Fading in and out of menuitem selection colour

Posted: Mon Nov 24, 2008 1:26 pm
by gyroscope
Hi, does anyone know please if the following is possible in Rev or not?

By holding down on a particular menuItem, the colour band fades in and when going to another menuitem, it fades out? i.e is there any way to affect the highlight colour of a menuitem script-wise anyhow?

What inspired me to want to use this neat visual effect in my project was this website:

http://www.samsung.com/uk/consumer/index.html

I'm guessing the answer would be no but yes for a listfield possibly or set of buttons...

:)

Posted: Fri Nov 28, 2008 12:52 am
by Mark
Hi Gyroscope,

It is not completely clear to me what you want, but I might have an idea, which won't work with native menus in Mac OS X but might works in Windows and Linux.

If you create panels for you menus, instead of using the text-based menu items, you might set the blendLevel of the panel stack to 100 and change it gradually to 0 during .5 or 1 second.

I'm not sure what is necessary to make this work. You might end up with a button showing stack, which simulates a menu. So, yes, probably you will have to fake it, one way or another.

Best,

Mark

Posted: Sat Nov 29, 2008 3:55 pm
by gyroscope
So, yes, probably you will have to fake it, one way or another.
Thank you Mark, I thought that might be the case.

:)