I need, depending on runTime conditions, to update the surface of a Flex window with a combination of controls.
For example I may need to layout this line
THIS IS STATIC TEXT #COMBOBOX# THIS IS ANOTHER STATIC TEXT #CHEKBOX#
Or this line :
#EDITBOX# STATIC TEXT HERE
A priori I can't tell the set of combination I may encounter, so I need to be able to dynamically construct the UI.
If changing the MXML of a component is possible, then I can ofcourse solve this pbm since the solution will only have to deal with string operation.
Thanks in advance.
Try using states, or modules.