D Unit wrote: > > So after playing around with this mxml, I've found that if I place the > mxml for the menubar within the main application mxml tag, then everything > works. However, if I put the menubar mxml in a separate file and include > it within the application mxml, then the sub-menu icons are not displayed. > Is this a Flex bug, or am I missing something? >
I've encountered a similar problem. I've uploaded some sample code : http://www.nabble.com/file/p21876377/TestMenuIcons.zip TestMenuIcons.zip Basically, I'm embedding some icon resources to use them in popup menus. I have an ActionScript file that embeds the resources and assigns them to a classname - the usual technique. I then wish to populate a menu using some XML as a dataprovider, with the icons being declared appropriately. In the Main.mxml, you can see three approaches to popping up a menu. They all use similarly-formatted XML, yet they differ in the manner in which they access the embedded resources. Only the third approach works, when it would seem reasonable that they all should work. -- View this message in context: http://www.nabble.com/Menu-icons-not-displayed-tp15214090p21876377.html Sent from the FlexCoders mailing list archive at Nabble.com.

