OK. I give up. This must be simple but after an hour I can't invest much more time. I have a menubar, with the dataprovider created on the fly with xml. If, in the program's workflow, I simply want to disable or enable a particular menuitem, how can I do that in AS3?