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: 
If I understand your question correctly either:

`text = ((expression) && (expression2)) ? true : false;`

or `text = ((expression) || (expression2)) ? true : false;`

**[UPDATE 1]**

Well I say either, but the first tests to see if both conditions are true, where as the second tests if either condition is true which I believe is the one you want.

**[UPDATE 2]**

An example

`((1.1 is int) && (1.1 is Number)) ? true : false;`

This will give you false as the expression `(1.1 is int)` is false, and both expressions must be true to return true.

`((1.1 is int) || (1.1 is Number)) ? true : false;`

This will return true as the expression `(1.1 is Number)` is true, and only one expression has to be true to return true.

**[FINAL UPDATE]**

Last example:

```
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx">

    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:VGroup>
        <s:Label id="label1" text="{((1.1 is int) &amp;&amp; (1.1 is Number)) ? 'true' : 'false'}"></s:Label>
        <s:Label id="label2" text="{((1.1 is int) || (1.1 is Number)) ? 'true' : 'false'}"></s:Label>
    </s:VGroup>
</s:Application> 

```

Because you get an error if you use `&&` alternatively you can use `&amp;&amp;`.
If you want them in one `if` statement, use the `and` or `or` operators: `&&~ and`||`, respectively. For example:

```
var x:int = 6
if (x > 3 && x < 10) {
    trace("both are true, so its contents will be acted on.");
}

var bob:Boolean = true;
if (x > 10 || bob) {
    trace("x > 10 is false, but bob is true, so this will also be acted on.");
}

```

You can also use functions that return booleans

```
function y (z:int):Boolean {
    if (z < 10) {
        return false;
    } else {
        return true;
    }
}

```

Actually, I could simplify that to

```
function y (z:int) {
    return z >= 10;
}

```

Then use the function in a group of conditions:

```
if (x < 5 && y(x)) { trace ("something here"); }

```

Booleans are converted to strings if assigned to or concatenated with a String.