Reputation: 13
With Flash gone, I'm currently trying to work to archive an SWF file and trying to preserve it so that it can be played back locally and isn't lost.
Unfortunately, this SWF file relies on an external XML file for some configuration data.
I do have the XML file but when the SWF tries to load it, it results in Error #2148: Only local-with-filesystem and trusted local SWF files may access local resources.
Of course, I don't have the original project for this SWF so I can't just re-export it with changed settings.
It seems like a fix for this would be to somehow patch the SWF file to use local-with-filesystem security, so that it's able to load the XML file and play locally. Is there a way to do that?
Failing that, is there some other workaround that could be used in order to allow this SWF to be played back locally?
Upvotes: 1
Views: 281
Reputation: 7316
There's a Use Network flag on the File Atributes tag. Refer the pages 57-58 in SWF File Format Specification.
Upvotes: 1