I have created a flyout menu for my panel using the com.adobe.csxs.core.CSXSInterface.setPanelMenu(xmlMenu) method. The xmlMenu contains the following:
How can I disable a menuitem? What do I need to do for it?
Any help will be appreciated.
You can't. You can rebuild the flyout menu "on the fly" to add and remove items.
Okay, so the CSXSInterface doesn't help. What can I do to achieve what I want? I just want to disable some menu-items based on some conditions. What methods are available to me?
Like I said; just add/remove the items as needed and call setPanelMenu().