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, Mike
On 5/12/06, s_hernandez01 <[EMAIL PROTECTED]> wrote:
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:
http://join.msn.com/messenger/features
Thanks
Sal
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
What goes up, does come down.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.