A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Characters missing from Dynamic Text file

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    18

    Characters missing from Dynamic Text file

    Hi all!

    I'm using a Dynamic Text box on a page, which is populated from an external .TXT file - I have noticed that if I place characters such as a plus symbol like the following + into the file, it is not shown in the page...does anyone have any idea what if anything I can do about this? I have tried adding ASCII codes for this type of character but they do not work!

    Also, is it possible to use the IMG HTML tag in the .TXT file to show images - once again, I have tried this and it doesn't want to work!

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    You should use urlencoded letters like the + sign will be %2b

    Heres a chart.

    http://i-technica.com/whitestuff/urlencodechart.html


    Or let Flash urlencode evrything first and the copy the results to the textfile. ( you use the escape() function ).

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Junior Member
    Join Date
    Dec 2003
    Posts
    18
    Thanks Pelle - it worked great!

  4. #4
    AKA [ Paul Bainbridge] webdreamer's Avatar
    Join Date
    Aug 2001
    Location
    Glasgow, Scotland, UK
    Posts
    3,320
    That is a handy link that hhas been added to my Fav's

    Thanks pellepiano

    Paul
    .: To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Twitter - Linkedin
    bringmadeleinehome.com

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

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