invalidateList is invalidating my mood ... no it's not that bad.

I have a popUpButton:

templateMenu = new Menu();    // global var
templateMenu.labelField = "name";
templateMenu.dataProvider = arrayDP;
templateMenu.selectedIndex = 0;
templateMenu.showRoot = true;
templatePopUpButton.popUp = templateMenu;


Occassionally, I do an arrayDP.push(some object);

I'd like the popUp's menu to immediately show this new item.

I tried templateMenu.invalidateList(), but this is not working.

The flash develop doc/hint says that invalidateList: "refresh all rows on the 
next update"

How do you force the "next update".   Is it invalidateDisplayList()?  I tried 
that, adding it after invalidateList, but that didn't work.

eager to be enlightened,
Thanks,
Steve

      

Reply via email to