I'm having the hardest time trying to get my dynamic text box to display single line feeds instead of doubles. I can't find a solution.
I have a text file named "mFile.txt" and the following content:
2nd Saturday at Twelve Lounge
1123 H Street/ NE Washington DC 20003
Battle of the hottest djays
In my movie, I have a movieclip on the stage called: "mc3"
Inside that movie clip is a dynamic text box with a instance name of "txt1"
In the code of the movie clip, I have the following AS:
When I play my movie the content from the text file is displayed like this:Code:var R; // res=new LoadVars(); res.load("mfile.txt"); res.onData=function(info){ if (info==undefined){ R="Loading failed"; }else{ R=info; } txt1.text=R; }
2nd Saturday at Twelve Lounge
1123 H Street/ NE Washington DC 20003
Battle of the hottest djays
What do I need to do to get it to display with the single line?




Reply With Quote