I would like to disable an entire MenuBar but can’t quite figure out how.

 

I was hoping I could just do something like this menubar1.enabled = false; but 
unfortunately this doesn’t seem to work.

 

Here is my menu bar code.

 

    <mx:MenuBar labelField="@label" itemClick="menuHandler(event)" 

            dataProvider="{menuBarCollection}"  width="300" x="470"  
color="#ffffff"  id="menubar1"  alpha="0.0" fillColors="[#ffffff, #ffffff]"/>

Reply via email to