I am prepared for a "Doh" moment. Can anyone explain why uncommenting the creation complete handler stops the menu from working?
Paul <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:XMLList id="optionValues"> <node label="A"/> <node label="B"/> </mx:XMLList> <mx:PopUpMenuButton id="selectedOption" dataProvider="{optionValues}" labelField="@label" /> <!--creationComplete="selectedOption.label='B'" /--> </mx:Application>