This content has been marked as final. Show 4 replies
I can think of two possible solutions (2nd one is what you have mentioned).
1. User can trust the SWF which would allow it load local files.
2. Ask user to upload it once and start using it. I hope browser cache would help in preventing the download every time.
What does the user have to do to make his computer trust the swf? Or is it something I have to do in the swf?
Here is a snippet from the Flex 2 user guide about urlloader:
When using this method, consider the Adobe® Flash® Player security model:
For Flash Player 8 and later:
Data loading is not allowed if the calling SWF file is in the local-with-file-system sandbox and the target resource is from a network sandbox.
Data loading is also not allowed if the calling SWF file is from a network sandbox and the target resource is local.
As far as I know there is no way for a user to "trust" an swf file. This is not like an activeX control.
OK thanks. So from a browser I have to upload and then download each time (because I've set no-cache in the cf application file for a different purpose).
Does anyone know if this problem can be overcome by the user choosing to use a version of my program that would work with AIR?