Slightly tricky problem to explain but here goes...
1) swf file on domain1, reads xml file on domain1 to display data 2) also contains link to open a ShadowBox popup of another html file also hosted on domain1 3) This swf file is also embedded in an iFrame on domain2 4) domain2 has ShadowBox installed in the HTML too
The issue is basically down to crosssite scripting:
The swf embedded on domain2 fires domain2 ShadowBox to open this popup, but the javascript call in the Flash is from domain1 which causes crossdomain permissions problems.
Can anyone think of a way around this? JSONP seems one option, but I'm not entirely comfortable using this. Does JQuery come with any way of approaching this? Can't find anything so far...