Question: 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.

Answer: 
There are number of methods, you can just write like that :

`(condition1 && condition2) ? statement if true : statement if false`

but if you want to execute this code in mxml component bindings, then you must use :

`'&amp &amp'` instead of `&&`,`'&lt'` instead of `<`, etc.
I would write the following statements instead :

```
var expression1:Boolean;
var expression2:Boolean;
var result:Boolean;

expression1 = condition?true:false;
expression2 = anotherCondition?true:false;

result = expression1&&expression2;

```