ActiveButton component
A couple days ago I saw movie which demonstrates a very nice flex application demonstration made by Cynergy. They are doing a great job rewriting existing application by using Adobe Flex. I jumped into their site to see more and more… finally again I found my new inspiration source. In showcase scenes you can find very nice buttons which I called Active Buttons.
So, lets create this same effect. I did it by extending VBox class and adding some interesting features.
Many developers complain they cannot create button with multiline labels. Hm… well, yes it is true if you are using starndard Button class.
Consider if you opaque everthing in VBox conatiner and add any onther component inside it. It can be many labels as you want, spacer, image etc.
In my component I used this technique. More over, if you move your mouse under icon button, the lables can flow just like a damped harmonic oscillator.
Below you can find the result. Use right cick to see whole source code.

Thanks for the component..What should i do suppose to change the active button when i choose other button?For example i click on the a next one button..Thanks..