How to use ampersand or AND in MXML
Sunday March 18, 2007
MXML bindings will let you use && for logical and bitwise purposes, although you have to use entity references when declaring them. So instead of
<mx:Button enabled="{blurb && blorble}" label="Click me!"/>
Do
<mx:Button enabled="{blurb && blorble}" label="Click me!"/>
...and similarly a single entity reference for a bitwise comparison.
Don’t forget that binding are a bit lazy