Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Text no displaying right when I upload to my server. What could it be?

1:50 pm on Jan 10, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 30, 2002
posts: 198
votes: 0

Hi, my swf is fine on my local machine. But when I upload it to my server all the text has gained a break.



line 2

line 3

It should display as


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.


12:20 am on Jan 11, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
votes: 0

A little more detail is required, I think . . .

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.