PDA

View Full Version : Security settings


bobby_b
11-11-2009, 08:51 AM
When using the fileReference.download method to let users download content from my server. Some users get a Security error when trying to downlaod. When studying the fileReference class it says:

To avoid this situation, reclassify this SWF file as local-with-networking or trusted.

But how do I do that?

Do i import the security class and then set secrurity to:

Security.LOCAL_WITH_NETWORK;

if yes. Should I do that in my base class or the class that is "creating the error"?

or should i change the Local playback security to "Access network only" (Im using the cs3 flash)?

Or is there another solution?

Many Thanks.

Bobby.