A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: external text load

  1. #1
    Member
    Join Date
    Jun 2001
    Posts
    43
    Anybody have an idea how to get rid of wierd coding that appears on imported text fields? Specifically, I've created a text file (pasted a word file into a simple text file) and when I import it into a dynamic text field in flash, I get odd coding where the apostrophes and quotes should be...What's the deal? I know if I go back into the simple text document and delete and insert the apostrophe or quotes it fixes the problem... that's fine for small amounts of copy. But a pain when I'm importing a big block. Any way around this gurus?

  2. #2

  3. #3
    Member
    Join Date
    Jun 2001
    Posts
    43
    this address the problem... but not the answer I was looking for. This tells me to go back in and address each instance. I was looking for a solution to take care of the wierd coding in the whole text field... not just one instance at a time.... Anybody got the scoop on this? thanks.

    __________
    [from Macromedia FlashSupportCenter]

    Substitute special characters with URL encoding
    One common technique used to load variables in Flash 4 is reading the data from a text file on the server (discussed in the Flash 4 manual "Using Flash," on page 183). This works well in most situations. However, there are certain characters that cannot be read directly from text.

    Entering these characters in a text file read by Flash 4 may cause unusual results. These characters need to be URL encoded. URL encoding replaces the alphanumeric character with the hexadecimal combination which represents that character.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center