How i write the inline conditional statement in Flex with two expressions(case)
like
text="{expression, expression2 ? true:false}"
Flex compiler only check the first expression and on behalf of that give result.But i want to check both statement and show result. if no condition met then do nothing.
If you want them in one
ifstatement, use theandororoperators:&&~ and||`, respectively. For example:You can also use functions that return booleans
Actually, I could simplify that to
Then use the function in a group of conditions:
Booleans are converted to strings if assigned to or concatenated with a String.