Hi guys,
I'm trying to concatenate a series of string literals and bound variables into
a model
variable called 'summary', which will be displayed in a 'summary' textarea or
text control.
The variables come from various control settings -- numeric steppers etc.
I can bind the variables to UI controls, for example
<mx:NumericStepper id="durStep" value="{model.duration}"
change="model.duration =
durStep.value"/>
<mx:NumericStepper id="startStep" value="{model.start}" change="model.start =
startStep.value"/>
But I'm not sure how or where to create this concatenated summary variable. I
declare it in
the model, but then where do I do the concatenating such that binding will
actually work?
Each time the steppers and combo boxes values change, I need to have the entire
summary update.
Ideally I just have a bindable variable in the model and then my textarea looks
like this: <mx:Text id="ruleSummary" text=" {model.summary}" />
Can someone help?
Thanks,
David