Does anyone know how to set Global Storage Settings to unlimited programatically? Thanks
Asked
Active
Viewed 111 times
0
-
For flash player security reasons this may not be allowed – Adrian Pirvulescu Nov 07 '13 at 09:43
-
Seems as though I've answered your question. Would you mind marking it as the correct one (unless of course it did not answer your question) – 1owk3y Nov 16 '13 at 12:34
1 Answers
1
You can't. The GLOBAL settings must be configured by the user (It's a permission issue).
However, best practice would be to ask the user for permission to increase how much storage is allowed by your Flash app. This is achieved using:
SharedObject.flush(minDiskSpaceBytes:int = 0)
//Where the argument is how much space you anticipate ever needing
Lucky for you, that request works on a domain level, so all Flash files hosted on that domain will also receive permission. In a sense, that IS the global setting.

1owk3y
- 1,115
- 1
- 15
- 30