1 Reply Latest reply on Aug 9, 2007 1:17 PM by kevinjohnsonMotorola

    Create lable with script

    kevinjohnsonMotorola Level 1
      I am new to Flex and I want to create a form that has a number of XML entries. When the application launches it would create one label for each XML entry and populate the label with the name of the XML entry.

      I have it working where I call out each label independantly with only a trial of 4 XML entries, but I would like to do this with a larger number without placing each label manually.

      In pseudo code I would do this in html by:
      for each XML item
      Create new label (or text box)
      assign the lable with contents of XML item
      next XML item

      is there an equivalent to this in Flex2?