Using LoadVariables to load text containing &
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Using LoadVariables to load text containing &

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    3

    Using LoadVariables to load text containing &

    Hiya all,

    im trying to load text into a little movie i've made - it all looks fine except it only loads up to where the txt file has a '&' in it... of course...

    Originally i did a find & replace and replaced all '&' with 'and', but then i realised some hyperlinks in the text had to have &'s in them...

    How can i get past this restriction?

    Pllllllzzzzzz tell me theres a way lol

    Thanks very much for your time
    -Loss
    Death before inconvenience!

  2. #2
    Junior Member
    Join Date
    Jan 2004
    Posts
    4
    i had issues w/ this in coldfusion when i was creating drill downs. There were some fields that had an & in them so it was breaking up my URL variables.. so what i did was thought of a replacement.

    when ever there was a & is the field var I replaced it with something sfae like :: and when the this was passed it was then decoded on the accepting script to replace my special :: char back into an & .

    hope that helps

    t0ad

  3. #3
    Junior Member
    Join Date
    Jan 2004
    Posts
    3
    Ahh right... yeh unfortunatly that doesn't help me in this case cos im not running any scripts or anything and the offending '&'s are in actual url addresses

    Thanks for that anyway
    -Loss
    Death before inconvenience!

  4. #4
    Junior Member
    Join Date
    Jan 2004
    Posts
    3
    Whoo yeh!

    Got it



    Using hex values for the & symbol worked, heres the TechNote i found that solved my problem.
    http://www.macromedia.com/support/fl...l_encoding.htm

    I hope this helps any others that come across this prob
    -Loss
    Death before inconvenience!

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

Poll by Flashkit.com