Hi all,
I probably have a really simple question.. I have a movieclip which
containts the menu items (each button is a movieclip), and know one
section has a white background so the white buttons become invisible. Now
I would like to invert/change the colours of the buttons. Only when I use
PM
Subject: [Flashcoders] Inverting colours of the menu
Hi all,
I probably have a really simple question.. I have a movieclip which
containts the menu items (each button is a movieclip), and know one
section has a white background so the white buttons become invisible. Now
I would like
Hi
you have many ways to do that,
class tween
colorTo() method
The Tween doesn't seem to have this method, but I found a ColorTransform
class in Flash 8. I will see if I can use that to invert colours.
The button movieclip contains of a white text for the initial state,
orange for the
Hi, you can download a tween class here:
http://hosted.zeh.com.br/mctween/
this class does this and more
Rodrigo
On 5/5/06, Weyert de Boer [EMAIL PROTECTED] wrote:
Hi
you have many ways to do that,
class tween
colorTo() method
The Tween doesn't seem to have this method, but I
I probably have a really simple question.. I have a movieclip which
containts the menu items (each button is a movieclip), and know one
section has a white background so the white buttons become invisible. Now
I would like to invert/change the colours of the buttons. Only when I use
setRGB() of
Hi Zeh,
Check setTransform on the help docs. But briefly, to invert a movieclip
(make it 'negative', you can do:
new Color(myMC).setTransform({ra:-100, rb:255, ga:-100, gb:255, ba:-100,
bb:255});
Yes, I found some similar code too, only doesn't seem to work. You can't
invert it again to get
Check setTransform on the help docs. But briefly, to invert a movieclip
(make it 'negative', you can do:
new Color(myMC).setTransform({ra:-100, rb:255, ga:-100, gb:255, ba:-100,
bb:255});
Yes, I found some similar code too, only doesn't seem to work. You can't
invert it again to get white
7 matches
Mail list logo