# Flash and XML problem with "\\n"

**URL:** https://forum.kirupa.com/t/flash-and-xml-problem-with-n/40592
**Category:** Uncategorized
**Created:** [January 20, 2004, 6:21am UTC](https://forum.kirupa.com/t/flash-and-xml-problem-with-n/40592 "2004-01-20T06:21:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Ziggwi](https://avatars.discourse-cdn.com/v4/letter/z/a3d4f5/32.png) [@Ziggwi](https://forum.kirupa.com/u/Ziggwi)
#### Post date: [January 20, 2004, 6:21am UTC](https://forum.kirupa.com/t/flash-and-xml-problem-with-n/40592/1 "2004-01-20T06:21:32Z")

</div>

Hi guys I got a problem with creating line breaks in Flash using a xml loaded file.

one of the lines is the xml file looks like this

info = "Name: Kevin /n Age: 20: /n Info: etc… " you get the idea.

The flash code that displays the text looks like this …

newtextField.html = true;  
newtextField.htmlText = this.firstChild.attributes.info;  
// Note “this” refers to the data that’s loaded.

When I run the program I get “Name: Kevin /n Age: 20: /n Info: etc…” when I actually wanted to get a output of

Name: Kevin  
Age: 20:  
Info: etc…

So do you see what I mean guys? My problem is getting the “line breaks” to appear and not “/n”.

Thanks for your time 🙂
