homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

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

10+ Year Member

Msg#: 4057760 posted 1:50 pm on Jan 10, 2010 (gmt 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.




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

Msg#: 4057760 posted 12:20 am on Jan 11, 2010 (gmt 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved