Flash URL Encoding

This isn’t perfect, but what i had to do was use the “escape” method….

var artist = “Set Your Goals”

var album = “Mutiny!”

var someVar = ‘<br> Some Test’ + escape(artist) + ‘/’ + escape(album) + ‘end’;

This was a workaround for some stuff I do for

killtheheart player

I haven’t been able to check it with any of the special characters for usage with xml or anything, but this was a quick save for me.

2 comments on this post.
  1. paranoyalarim:

    hmmm, thanks.
    i try it.

  2. unalomuzo:

    Thx to this post i found my problems solution!
    My actioncsript was:

    txt = “%C3%A9%C3%A1%C5%B1ifdsc”;
    trace(unescape(txt)); //->éáűifdsc

Leave a comment