To insert an icon in each individual button on the buttonbar you need
to embed it.
Example:
<mx:ButtonBar id="viewButton" width="80">
<mx:dataProvider>
<mx:Array>
<mx:Object icon="@Embed(source='assets/icon1.png')"/>
<mx:Object
icon="@Embed(source='assets/icon2.png')"/>
</mx:Array>
</mx:dataProvider>
</mx:ButtonBar>
--- In [email protected], "mthielman11" <[EMAIL PROTECTED]> wrote:
>
> I am wanting to use icons instead of the default buttons for a
buttonbar. I did search here
> and only found one reference and it looked a little complicated.
There apears to be an icon
> property in the buttonbar component but does not appear to do
anything. Is this a bug or
> am I missing something?
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/