2 Replies Latest reply on Aug 18, 2010 9:47 AM by Flex harUI

    Changing the MXML of a component at runTime

    hINTModuleState

      Hi there,

      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.

       

       

      Please help.

       

      Thanks in advance.