13 Replies Latest reply on Jan 18, 2012 8:33 AM by Marauder64r

    How Can I Programatically (AS3) Set PopUpMenuButton Selected Item?

    Miggl Level 1

      Hi All,


      I have been googling this issue all afternoon and can't seem to figure it out. I would like to programatically pre-select an item from a PopUpMenuButton (PUMB) prior to it being displayed. I've seen various references to the following, but it doesn't work:

      Menu(myPUMB.popUp).selectedIndex = x;

      While this doesn't throw an error, it also doesn't change the text displayed on the PUMB when it is not expanded.