Question : If Statement for a Width in a mx:Text

I have a <mx:width> and I can't remember the correct syntax for inserting an actionscript if into the width option.

<mx:text width"{ CODE }" />

Thanks in advance

Answer : If Statement for a Width in a mx:Text

try the short-hand if operator:

<mx:text width="{(booleanExpression)?trueValue:falseValue}"/>
Random Solutions  
 
programming4us programming4us