Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Text Randomly Adding Letters!?

Status
Not open for further replies.

farseeb

Technical User
May 31, 2006
8
CA

If you visit his biography, you'll notice that random letters are added, which look like spelling mistakes, however I can assure you there are NO spelling mistakes what so ever....i don't understand. Its adding random letters!

Anyone have any input? I have all the code to submit if anyone wishes.....thanks,

-Geoff
 
Why are you using an .html file (rather than a .txt file as on the other sections...) in the biography section...

...
// [Action in Frame 53]
loadVariables("nigelcontact.txt", this);

// [Action in Frame 63]
stop ();

// [Action in Frame 68]
loadVariables("nigelbiography.html", this);
...

And by the way your added characters are in that html file...


Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
...And another thing... You should be using the LoadVars object rather than loadVariables... With loadVariables there's a lag when used online, and sometimes the text doesn<t even appear, or only appears after a refresh.

Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
What is the LoadVars command to load an external text document into a text box? my text is named "nigelbiography.txt" and the var for it is "data2".

Could you show me what i'de put in my actions to get the text to be loaded? Thanks!

-Geoff
 
The repeated characters are not in the .txt file I upload. Thats the problem, somehow they are automatically being added in! I just downloaded the .txt file i used before, and fixed it then re-uploaded....and it added a whole new set of random letters.

It doesn't make any sense at all.
 
Whether it be the .html or file, I still see some duplicated characters in those files, and obviously when those files are read, that the duplicated characters come with it...

Maybe you have an uploading problem (binary vs ascii) to your server.

Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
It has to be an uploading problem. Because the .txt file doesn't have extra characters before the upload. How would I check to see what type of uploading issues I'm coming across? You mentioned binary vs ascii but how could I check this / fix it ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top