function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SpectrumGFASpectrumGFA 

Loading Remote SWF From Custom S-Control SWF - Security Sandbox Violations...

We are currently developing a Flex application to run as a custom S-Control in our SalesForce instance. 
 
I want to load a remote SWF file into our custom S-Control.  I can successfully login on the S-Control, but when I try to load the remote SWF, it says "parent cannot access na5.salesforce.com/servlet/servlet.FileDownload...etc ". 
 
 
I login on both SWF files and set the loadPolicyFile to salesforce's crossdomain file, but I still get this error... any clues?
SuperfellSuperfell
I don't entirely follow what you're trying to do (why don't you just put the SWF in the s-control binary field ?), but the salesforce.com cross domain policy file only allows for access to the web services API, not general access to the entire site.
SpectrumGFASpectrumGFA
Because if I want to update the swf file, and we have 100 clients using salesforce with our Flex App, I dont want to re-upload 100 new swf files