Ive read pretty much read all posts on ultrashock and googled this topic. Found quite a few solutions but none can really work for me. Also found a tut here on Kirupa but didnt help.
Basically 2 swf’s and 1 XML file involved.
swf1 sits on my pc
swf2 sits on www.somedomain.com and gets loaded into swf1
XML file sits on www.anotherdomain.com and gets loaded into swf2
The solutions I have come across are:
Create a cross domain policy file on server hosting XML file - No can do cause its not my server and is just a freely available XML file
Create a PHP file on my server that uses readfile() to read the XML file from another domain and pass it into flash - Awesome idea although I couldnt get it to work on my pc let alone the fact that my hosting company has readfile() disabled in PHP config!
Create a PHP file on my server and us include() to pass the XML file into flash - Yet another cool idea but the XSD must not be present in the original file for this to work. Unfortunately I cannot modify the XML to not have the XSD. Id there a way to possibly bring the XML file with XSD into PHP and then remove the top line before displaying somehow?
Im at my end with this problem and its REALLY starting to #### ## off. Yes I can “partially” understand Adobe needing to move to more security BUT if PHP is a solution(considering hosting company allows it) and they dont have problems with these things why should Adobe?
What malicious act can be performed by not having this security enabled? Surely nothing currently?
Btw, hosting company also disables file_get_contents() & anyone know why when I use any of these PHP file reading functions on my pc it takes like 30secs to return with a BLANK result? They are enabled in my PHP.ini