Hi,
I have made a plugin that reads an external xml and uses its data to show info, loads a still image etc. I came across this problem, and can't figure it out if its a URL encoding error, security issue or something else.
This works:
Code
<plugin
url="plugins/still.swf?req=somexml.xml"
zorder="97"
align="center" x="0" y="0"
children="true" visible="false" cursor="false" handcursor="false"
/>
This doesn't (check the url, not a real adress btw)
Code
<plugin
url="plugins/still.swf?req=http://somewebsite.com/somexml.xml"
zorder="97"
align="center" x="0" y="0"
children="true" visible="false" cursor="false" handcursor="false"
/>
This doesn't work either (it loads only the req and not var2, and if I turn them around, it loads var2 and not req)
Code
<plugin
url="plugins/still.swf?req=somexml.xml&var2=someothervariable"
zorder="97"
align="center" x="0" y="0"
children="true" visible="false" cursor="false" handcursor="false"
/>
Flash tracer plugin doesn't give me any sandbox security errors or any other errors, krpano debugger says it can't find the file.
Anyone got any clue?
Btw I use this function in Flash, but Im almost 100% certain it's right and that the problem lies in the xml
Code
function startplugin(event:Event):void
{
krpano = krpano_as3_interface.getInstance();
if (loaderInfo.parameters.req==null)
{
apireq = "blanco.xml";
}
else
{
apireq = loaderInfo.parameters.req
}
/* if (loaderInfo.parameters.var2==null)
{
apireq2 = "blanco.xml";
}
else
{
apireq2 = loaderInfo.parameters.var2
}*/
RequestXML(apireq);
}
Display More
and crossdomain.xml, allowing all domains: