Skip to content
Peter Velichkov's Blog

Peter Velichkov's Blog

…looking for more than eyes can see

Tag: String

Posted on 27 October , 2010

LineBreak / NewLine in Flex Text Control from XML String

Unfortunately the standard way (‘\n’)  of inserting new lines in Flex Text Controls (Label, Text etc) doesn’t work when the string comes from XML.

The magical way to do it is by using ‘
‘ so

Lorem
Ipsum becomes

Lorem
Ipsum

Categories

  • Adobe Flex (5)
  • Daily (12)
  • Events (1)
  • Flash (2)
  • Internet Explorer (6)
  • JavaScript (12)
  • Linux (13)
  • NVpatch (3)
  • Papervision3D (2)
  • Performance (4)
  • Reviews (1)
  • SEO (2)
  • Tutorials (1)
  • XHTML/CSS (3)

Recent Posts

  • Goodbye world!
  • DIY Laptop Optical Drive Bay HDD Caddy
  • How to Encrypt Partition under Ubuntu 11.10
  • How to Access Flex 3 VideoDisplay CuePoint Parameters
  • LineBreak / NewLine in Flex Text Control from XML String

Recent Comments

  • Diana on TCM Stores (TCM Magazini)
  • Ian on Howto Create Lossless Flash Screen Captures (Screencasts) for Free
  • Diana on TCM Stores (TCM Magazini)
  • Diana on TCM Stores (TCM Magazini)
  • retrr0sp3kt on DIY Laptop Optical Drive Bay HDD Caddy

Archives

  • January 2017 (1)
  • December 2011 (2)
  • December 2010 (1)
  • October 2010 (1)
  • April 2010 (1)
  • September 2009 (2)
  • August 2009 (1)
  • April 2009 (3)
  • March 2009 (1)
  • January 2009 (4)
  • December 2008 (1)
  • August 2008 (3)
  • July 2008 (4)
  • May 2008 (2)
  • April 2008 (4)
  • March 2008 (4)
  • February 2008 (6)
  • January 2008 (6)
  • December 2007 (2)
  • November 2007 (6)
  • October 2007 (5)
  • September 2007 (2)
  • August 2007 (5)

Copyright: Except where otherwise noted the content of this site is licensed under a Creative Commons Attribution-Share Alike License
Copyright (cc) 2007-2017 Peter Velichkov. Some rights reserved. Comments, texts and pictures not signed by me are property of their respective owners.

Proudly powered by WordPress
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok