Hi all,
I dont know why, but the Flex compiler alerts some error when I try to
use binding with 2 arguments:
<mx:VBox visible="{someCombo.selectedIndex != 0 &&
someOtherCombo.selectedIndex != 0}>
...
</mx:VBox>
And the error is : The entity name must immediately follow the '&' in
the entity reference
Using a function, it works fine
<mx:VBox visible="{isThisVisible()}">
...
</mx:VBox>
where:
private function isThisVisible():Boolean {
if (someCombo.selectedIndex != 0 && someOtherCombo.selectedIndex !=
0) return true;
else return false;
}
Why and how to solve this so I dont have to fill my code with these
functions?
--
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/