You could do something like

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:Style>
    Button{upIcon: Embed(source="Assets.swf",symbol="TreeNodeIcon")}
</mx:Style>
    <mx:Button id="b"/>
</mx:Application>

On 5/10/06, Bas J. Brey <[EMAIL PROTECTED]> wrote:

The default theme has icons I want to use in other components, how can I, for example, use the "TreeNodeIcon" in a List component?

I know I can embed the swf file but there must be another way to access it.

 

 

 



--
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






--
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




Reply via email to