The thing is this;
I’m loading a dynamic XML from a .dll applet, and i know flash can URLencode the content BUT it doesn’t seem to (atleast to my knowledge) have a way to URLencode the onload URL itself, and this is a big problem for me since i enquire the xml content from a dynamic XML like this;
jackpotXML = new XML();
jackpotXML.ignoreWhite = true;
jackpotXML.onLoad = jackpotLoad;
jackpotXML.load("http://www.someURL.com/isapi/mHandler.dll?<?xml%20version=\"1.0\"%20encoding=\"ISO-8859-1\"?><svsxml%20channel=\"checkAmount\"><get_jackpot%20ver=\"1.0\"/></svsxml>");
function jackpotLoad(success) {
//Some random code here
};
and that URL gets interpreted different in various browsers so it works in IE but in firefox for example it asks the mHandler.dll for something completly else and thus gets an XML with just the text “ERROR blah blah” in it.
So to my question, is there any way to make that URL work in all browser, like URLencoding it somehow?
I Appreciate all replies and ideas!
//bugiam