Forum Moderators: open
eg
line1
line 2
line 3
It should display as
line1
line2
line3
This is strange as its fine on my local machine.
I,m using Filezilla and the upload type is set to automatic.
I have the option of uploading in either ASCII or Binary. But I don't know if that will make any difference.
Can someone please help.
Thanks
Going under the presumption you're displaying text within a SWF. How does it "get" into the swf? Via XML import or by importing a plain text file?
If it's a plain text file, line breaks/end of line characters between Windows and Unix/Linux are very different. So a simple "\n" in Windows may be interpreted as a "\r\n" when uploaded . . . my specific description may be incorrect but the concept is the same. It's not uncommon for, say, a Notepad document to be fine, then when uploaded and re-downloaded it comes back double spaced.
As mentioned a little more info will be required on how the text is brought in to Flash, you may just be able to do some replacement function to kill duplicate line returns.