1 Reply Latest reply on Mar 21, 2009 11:00 AM by ntsiii

    wrap text on Labelcontrol


      I am new to Flex,

      I wanted to know how to use wordWrap on a Label Control my code is as Follows

      private var factorName:Label = new Label();

      factorName.toolTip = templateXML.*.factor.(@factorID==factorXML.factorID ).helpText;[Data coming from the XML]
      factorName.text = factorXML.seqNo+". " +factorXML.name; [xml contains sequence number and name]

      i have tried using width and percentwidth but still i am not able to wrap
      can anyone help me on this