Escape, unescape, encodeURI, decodeURI neither one does the trick?

to read this embedded flash variable


<embed src='testmap.swf?aMapPoints=ivg|Hs}cc@sCzDeKzI]`EcBJg@hGcA~Ie@|SLdDn@fM~A`VFPeCbAoApC}@B_H{Kg@rDw@~EsAhGo@`Da@~Ga@fFqAd@aCxAm@HsC{@}BIeDTiAv@VjBJlBSnBe@lAGbASnBq@d@eA]u@j@}Aw@y@{C\\kAt@Yr@}A`AiAu@}Ci@sD~@_Ab@jAhBCvAw@hBsDjB}AhEsF~BeJdDaM`BaBfFaCnGmE`EaDaAaTPkJv@iLhAiK`AuCvAI|DoDnIcJ

somehow the characters are rewritten

When i use swfobject and flashvars it does work. But i need to use the embed method :frowning:

in testmap.swf(AS 3) i have


var flashVars:Object = LoaderInfo(this.root.loaderInfo).parameters;

  var encodedPoints:String = flashVars.aMapPoints ? flashVars.aMapPoints : "ivg|Hs}cc@sCzDeKzI]`EcBJg@hGcA~Ie@|SLdDn@fM~A`VFPeCbAoApC}@B_H{Kg@rDw@~EsAhGo@`Da@~Ga@fFqAd@aCxAm@HsC{@}BIeDTiAv@VjBJlBSnBe@lAGbASnBq@d@eA]u@j@}Aw@y@{C\\kAt@Yr@}A`AiAu@}Ci@sD~@_Ab@jAhBCvAw@hBsDjB}AhEsF~BeJdDaM`BaBfFaCnGmE`EaDaAaTPkJv@iLhAiK`AuCvAI|DoDnIcJ";

Now when i test without the aMapPoints as external embedded flash variable and my .swf use the hardcoded string it works, that is just


<embed src='testmap.swf

I bet some characters are being rewritten, or escaped in flash but how do i fix this?