I need to specify more than one condition for visibilty
visible="{data.allow && data.open}"
However, this gives the error “The entity name must immediately follow the ‘&’ in the entity reference.”
I could use a function, but I’d like to know if it is possible to do this directly with different syntax.
Because
&is a special character in XML, you have to encode the&as&, so your expression would becomevisible="{data.allow && data.open}".Read more in the Flex Help chapter “Specifying special characters in the text property”.