# Problem When importing text (TXT) into Flash

**URL:** <https://forum.kirupa.com/t/problem-when-importing-text-txt-into-flash/287717>\
**Category:** flash\
**Created:** [May 5, 2009, 3:56pm UTC](https://forum.kirupa.com/t/problem-when-importing-text-txt-into-flash/287717 "2009-05-05T15:56:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Dispatcher](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@The\_Dispatcher](https://forum.kirupa.com/u/The_Dispatcher)\
**Post date:** [May 5, 2009, 3:56pm UTC](https://forum.kirupa.com/t/problem-when-importing-text-txt-into-flash/287717/1 "2009-05-05T15:56:21Z")

</div>

Hi Guys,

I hope you can help me with this:

I used the folloing script to import text from a TXT file:

[COLOR=red]var aboutData:LoadVars = new LoadVars();  
aboutData.load(“about.txt”);  
txtAbout.autoSize = true;  
aboutData.onLoad = function() {  
txtAbout.text = aboutData;[/COLOR]  
[COLOR=red]};[/COLOR]  
[COLOR=#ff0000][/COLOR]  
[COLOR=black]The Text is imported like this:[/COLOR]  
[COLOR=darkgreen]%0D%0A%20%0D%0A%0D%0A=&%20Animation%2E%0D%0A%0D%0AI%20Hope%20yo[/COLOR]  
[COLOR=#006400][/COLOR]  
[COLOR=black]Anyone knows how can i fix this maybe?[/COLOR]  
[COLOR=black][/COLOR]  
[COLOR=black]Thanks For your help[/COLOR]
