Search Results

Search found 2 results on 1 pages for 'user168610'.

Page 1/1 | 1 

  • How to add icons to a PopUpMenuButton in Flex 3 using an XML file

    - by user168610
    Hi, I've been looking at the following example for populating a PupUpMenuButton http://blog.flexexamples.com/2008/02/21/creating-a-custom-label-function-on-a-flex-popupmenubutton-control/ and would like to add icons to each menu. Ideally, I would specify the icon in the xml and assign it in a similar way to using labelFunction for the text. I'm pretty new to Flex and would appreciate some guidance with this. The only information I've found via google is to create a menu as follows (seems I can't include more than one url, but it is an example that creates a menu object using the following function): private function initMenu():void { menu = new Menu(); menu.dataProvider = xmlList; menu.labelField = "@label"; menu.iconField = "@icon"; } but I would really prefer to build it all from the XML file. Many thanks, Bryn

    Read the article

  • iPhone addition to already localized nibs

    - by user168610
    I've submitted an app to the store that has been localised into a number of languages. Now it's time to update a few things, so I've added a few new components to a xib or two and modify them as IBOutlets from my code. All works great in English, but when I change to a different language it appears that my nib additions haven't been propagated through the localised nibs that already existed. (I get an unrecognised selector on a UILabel I've added). What is the correct workflow for adding new items to an already localised nib? Should a modification to the top level .xib carry through to all localised versions? Or should I unlocalize, add new components and then localise all over again? Many thanks, Bryn

    Read the article

1