Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flex > Flex 2 & 3

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-01-2006, 07:30 AM   #1
webninja
Registered User
 
Join Date: Mar 2006
Location: Rhode Island
Posts: 51
Default TextArea and line breaks

If I use ordinary text, not HTML, in a mx:TextArea UI Component, what's the trick to breaking the line? I tried the \n and \r with no joy at all and a few other tricks. There has to be a secret handshake on this one...
webninja is offline   Reply With Quote
Old 04-01-2006, 02:28 PM   #2
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,859
Default

no \n and \r should do the trick. i will get back to you on this one a bit later today.
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 04-01-2006, 02:53 PM   #3
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,859
Default

ok. i can reproduce and logged a bug.
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 04-01-2006, 06:05 PM   #4
webninja
Registered User
 
Join Date: Mar 2006
Location: Rhode Island
Posts: 51
Default

Quote:
Originally Posted by hangalot
ok. i can reproduce and logged a bug.
Ah, okay, thanks very much. I guess I'll use HTML until it's fixed. I was using text so I could allow the user to change the font size, but that's a minor issue.
webninja is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TextArea Component - line space (leading) mpac Components 1 11-29-2007 12:30 PM
determining the line in textArea Paul Freedman Components 4 04-01-2005 12:36 PM
embedding image in textArea - shifts it down a line hipster ActionScript 2.0 5 06-29-2004 04:01 PM
Adding a new line to a TextArea Denaes ActionScript 2.0 3 10-05-2003 12:42 PM
Loading txt magicwand ActionScript 1.0 (and below) 2 11-14-2002 04:26 PM


All times are GMT. The time now is 03:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.