Conditional operator « Language « Flash / Flex / ActionScript






1.Use conditional operator in for loop
2.The Conditional Operator: (logical expression) ? if true : if false;
3.You can also use the conditional operator to return values that can be stored in a variable.
4.Use conditional operator to set a default value for an undefined variable