I have a php page which outputs the following:
DisplayValue=%3cfont+face%3d%27Arial%27+color%3d%27%23FFFFFF%27+size%3d%2730%27%3eGambling+Hotline+1800+060+757%3c%2ffont%3e&TickerSpeed=2&DisplayValue=%3cfont+face%3d%27Arial%27+color%3d%27%23FFFFFF%27+size%3d%2730%27%3eGamble+Responsibly%3c%2ffont%3e&TickerSpeed=2&DisplayValue=%3cfont+face%3d%27Arial%27+color%3d%27%23FFFFFF%27+size%3d%2730%27%3ePlaysmart±+a+better+way+to+play%3c%2ffont%3e&TickerSpeed=2&DisplayValue=%3cfont+face%3d%27Arial%27+color%3d%27%23FFFFFF%27+size%3d%2730%27%3eCongratulations+to+our+winners!!!%3c%2ffont%3e&TickerSpeed=2&DisplayValue=%3cfont+face%3d%27Arial%27+color%3d%27%23FFFFFF%27+size%3d%2730%27%3eWelcome+to+the+team+Club%3c%2ffont%3e&TickerSpeed=2&cheese=ythe problem (at least that I can see) is that “DisplayValue” occurs multiple times. Doing a trace on LoadVars, I get the following:
cheese=y&TickerSpeed=2&DisplayValue=%3Cfont%20face%3D%27Arial%27%20color%3D%27%23FFFFFF%27%20size%3D%2730%27%3EWelcome%20to%20the%20Jackpot%20Club%3C%2Ffont%3E&onLoad=%5Btype%20Function%5D
which is weird since it is the reverse of the resutl!
this is my as2 code:
function loadTickerData()
{
//trace(_root.worldsmartDomain + "/DataHandler.ashx?feature=getticker&terminalId=" + _root.terminalID + "&r=" + _root.generateRandomString(6));
loader.onLoad = function(success)
{
if (success)
{
trace(this);
}
else
{
trace("not loaded");
}
};
loader.load(url);
}