Hi - I tried that but, no, that doesn't work either:

<mx:MenuBar id="myMenuBar">
<mx:XMLList>
        <!--DOES NOT WORK!!! menuitem label="Action" enabled="{bindableProp !=
null}"/-->
        <!--DOES NOT WORK!!! menuitem label="Action" enabled="{bindableProp != 
null
? true : false}"/-->
        <!--DOES NOT WORK!!! menuitem label="Action" enabled="{true &amp;&amp;
bindableProp != null}"/-->
        <menuitem label="Action" enabled="{myMenuBar != null &amp;&amp;
bindableProp != null}"/>
</mx:XMLList>
</mx:MenuBar>


Fotis Chatzinikos wrote:
> 
> Have you tried:
> 
> enabled="{bindableProp !=null?true:false}"
> 

-- 
View this message in context: 
http://www.nabble.com/MenuBar-menuitem-data-binding-bug--tp20343455p20355940.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to