Take a look at the source code for these classes and find the methods that get/set the 'text' property of the TextField that displays the button's label. Then try overriding these methods in a subclass to get/set the 'htmlText' property instead.
Just wondering... what are you doing that requires displaying HTML in a Button? - Gordon ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Saleiro Sent: Tuesday, January 30, 2007 8:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Extend ButtonBar so it supports Buttons with htmlText Hi, how can i extend the ButtonBar class (and the Button class) so that it's possible to have htmlText on the buttons, instead of simple text? Thanks, João Saleiro