At the moment, yes, that’s easiest I think.

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zzwi89
Sent: Thursday, October 19, 2006 12:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Set icon without using @Embed?

 

Instead of using text to label a set of tabs, I am using some images.
Currently I use the following syntax:

component.icon = @Embed(source);

When component is placed into a viewstack, and a tabbar assigned to
the viewstack, the icon shows up in the tab. However, I would like to
assign different icons (which are really text labels that have a look
and feel I cannot replicate in Flex.) Preferably, the application
loads in an XML document with the source of the appropriate images,
but so far I have not been able to get this to work. Must I really
embed each image and use if/then logic to determine which of the
embedded images I want to display?

__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to