Hi Klaus, I will pm you a link to an online example. I have a crossdomain.xml file on the domain where the host document resides and in the CDN containers of each pano. Just to explain my setup more clearly. I have a html page that contains an iframe. The source of the iframe points to a container on the CDN that holds the files (html, swf, images, xml etc.) for a pano. Each pano container is assigned a sub-domain by the CDN, so to refer to them I have to give the full http path.
|
Quellcode
|
1
2
3
|
http://www.mywebsite.com/index.html -- contains iframe pointing first pano on cdn)
http://cdn.001.host.com/index.html -- first pano, contains hotspot with loadpano(second pano)
http://cdn.002.host.com/pano.xml -- xml of second pano
|
I tried another way by keeping all the files on the same domain with the panos in separate sub-folders and the loadpano() call on the hotspot using a fully qualified path to the second pano:
|
Quellcode
|
1
2
3
|
http://www.mywebsite.com/index.html -- contains iframe pointing first pano on cdn)
http://www.mywebsite.com/pano1/index.html -- first pano, contains hotspot with loadpano(http://www.mywebsite.com/pano2/pano.xml)
http://www.mywebsite.com/pano2/pano.xml -- xml of second pano
|
Similarly, the viewer tries to load
http://www.mywebsite.com/http:/www.myweb…/pano2/pano.xml and gives the error "Loading error - (IO Error)"
regards,
Andrew