4 Replies Latest reply on May 2, 2009 10:59 AM by Tokerman

    How to get txt output in a column?

    Tokerman

      Don't know and can't find anywhere, how to get output in a column in a dynamic textfield

       

      instead of getting the output i.e.

       

      output1, output2, output3, etc

       

      I would like to have it as

       

      output1

      output2

      output3

       

      but I don't know how to make returns in flash - in php /n

       

      can anyone answer my 'simple' question

       

      Thanx

        • 1. Re: How to get txt output in a column?
          kglad Adobe Community Professional & MVP

          the same in flash:  \n for line feed, \r for return, \t for tab (though you need to do some additional coding to define tab positions).

          1 person found this helpful
          • 2. Re: How to get txt output in a column?
            Tokerman Level 1

            I solved it like this and it's working, but it seems silly, because I have 10 dynamic fields like this - I have tried /n to get all the outcome into 1 dynamicfield called total_txt but where and how do I put in /n?

                    total_txt.text = Number(qty1_txt.text)+ " X " + "art 1"


                    aAmount_txt.text = Number(qty1_txt.text)+ " X " + "art 1"
                    bAmount_txt.text = Number(qty2_txt.text)+ " X " + "art 2"
                    cAmount_txt.text = Number(qty3_txt.text)+ " X " + "art 3"
                    dAmount_txt.text = Number(qty4_txt.text)+ " X " + "art4"
                    eAmount_txt.text = Number(qty5_txt.text)+ " X " + "art5"
                    aprice_txt.text =  Number(price1_txt.text) + ",- " +"  Euro's"
                    bprice_txt.text =  Number(price2_txt.text) + ",- " +"  Euro's"
                    cprice_txt.text =  Number(price3_txt.text) + ",- " +"  Euro's"
                    kprice_txt.text =  Number(price4_txt.text) + ",- " +"  Euro's"
                    eprice_txt.text =  Number(price5_txt.text) + ",- " +"  Euro's"

            • 3. Re: How to get txt output in a column?
              Ned Murphy Adobe Community Professional & MVP

              Try \n, not /n, and you place it as a string ("\n"), wherever you want a new line.

              • 4. Re: How to get txt output in a column?
                Tokerman Level 1

                That was very helpful - thanx a lot.