# Line breaks in flash

**URL:** https://forum.kirupa.com/t/line-breaks-in-flash/117656
**Category:** Uncategorized
**Created:** [July 29, 2004, 4:25am UTC](https://forum.kirupa.com/t/line-breaks-in-flash/117656 "2004-07-29T04:25:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bsprathapsimha](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bsprathapsimha](https://forum.kirupa.com/u/bsprathapsimha)
#### Post date: [July 29, 2004, 4:25am UTC](https://forum.kirupa.com/t/line-breaks-in-flash/117656/1 "2004-07-29T04:25:12Z")

</div>

hi,

how do i insert line break in flash 5. I am loading the string from XML file and flash is not recognising  
for the new line. I am loading the text into arrays and displaying one by one. Here is one paragraph of text for your reference:

Olga welcomes \_\_\_\_\_\_ to \_\_\_\_\_\_ of the 10-week language program. She then gives \_\_\_\_\_\_ about immigration. Firstly, she advises \_\_\_\_\_\_ of their passport, their visa, \_\_\_\_\_\_ and \_\_\_\_\_\_.  
Secondly, Olga says \_\_\_\_\_\_ and \_\_\_\_\_\_ allthe time. She tells \_\_\_\_\_\_ that the second page of the I-20 form has \_\_\_\_\_\_. If any students lose \_\_\_\_\_\_, the ELP office has \_\_\_\_\_\_.  
Thirdly, students must \_\_\_\_\_\_ with their passports. In fact, the I-94 is \_\_\_\_\_\_ American immigration document. This small white card must be shown to \_\_\_\_\_\_ or \_\_\_\_\_\_ if they ask to see it.  
Fourthly, students often get confused \_\_\_\_\_\_. Student visas are valid \_\_\_\_\_\_. The students must \_\_\_\_\_\_ while the visa is valid. If the visa \_\_\_\_\_\_ while the students are \_\_\_\_\_\_, they will need \_\_\_\_\_\_ in order to reenter the USA.

i have put  
to get the line breaks, but i am not able to achieve it,

can you solve this

prathap

---

<div class="post-metadata">

### Author: ![McGiver](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@McGiver](https://forum.kirupa.com/u/McGiver)
#### Post date: [July 29, 2004, 1:14pm UTC](https://forum.kirupa.com/t/line-breaks-in-flash/117656/2 "2004-07-29T13:14:18Z")

</div>

I don’t have flash 5 anymore, but normally /n causes a line break.

you need to have multiline activated in your textfield of course.  
maybe you should try to unescape the string

mystring = unescape(mystring)

---

<div class="post-metadata">

### Author: ![bsprathapsimha](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bsprathapsimha](https://forum.kirupa.com/u/bsprathapsimha)
#### Post date: [July 30, 2004, 4:05am UTC](https://forum.kirupa.com/t/line-breaks-in-flash/117656/3 "2004-07-30T04:05:56Z")

</div>

hi,

thank you very much

even i don’t have flash 5, i am using mx and exporting for flash 5. That is the requirement from the client.

i will check that and get back to you

thank you

prathap
