[Flashcoders] >> Textfield LINE RETURN

2006-03-26 Thread Laurent CUCHET
Good morning, I need o put a return or enter to go to next line, have an Idea how to do in a Var ?? Thank you Need : Morning John, Your site is beautiful Have a good day AS2 text1_txt.text = "Morning john, Your site is beautiful. Have a good day";

Re: [Flashcoders] >> Textfield LINE RETURN

2006-03-27 Thread Arul Prasad
Add a "\n" where you need a newline, text1_txt.text = "Morning john,\n Your site is beautiful.\n Have a good day"; will show the text in 3 lines. ~Arul Prasad Remember to On 3/27/06, Laurent CUCHET <[EMAIL PROTECTED]> wrote: > > Good morning, > > I need o put a return or enter to go to next lin

Re: [Flashcoders] >> Textfield LINE RETURN

2006-03-27 Thread sixbras
you can use the constant "newline" too. tetx1.txt = "Hello" + newline + "Your are beautiful."+ newline + "Have a good day"; On 3/27/06, Arul Prasad <[EMAIL PROTECTED]> wrote: > Add a "\n" where you need a newline, > > text1_txt.text = "Morning john,\n Your site is beautiful.\n Have a good > day