[flexcoders] Icons Buttons

2006-05-12 Thread s_hernandez01
Would anybody know how to create an icon button in Flex simiilar to the way MSN Messenger created theirs? Where the icon is above the text label and blended in to the background, but has a rollover effect that shows the border of the button. Here's an example:

Re: [flexcoders] Icons Buttons

2006-05-12 Thread Michael Schmalle
Hi, You just need to create a Skin class that has no graphics for the upSkin style. Set labelPlacement to 'bottom' Adjust padding and you are set. See the docs Skinning programatically section for more info on how to create the ButtonSkin class. Peace, MikeOn 5/12/06, s_hernandez01 [EMAIL

Re: [flexcoders] Icons Buttons

2006-05-12 Thread Michael Schmalle
Not to mention, This is a perfect example of where an MXML component is perfect. Peace, MikeOn 5/12/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, You just need to create a Skin class that has no graphics for the upSkin style. Set labelPlacement to 'bottom' Adjust padding and you are