开发者

AS3 - Define shared object size

开发者 https://www.devze.com 2023-03-17 12:36 出处:网络
I want to let the user save some bigger data in a shared object by choice. Is it possible to define the size the user needs to allow?

I want to let the user save some bigger data in a shared object by choice. Is it possible to define the size the user needs to allow? I'ld like to set 开发者_JS百科the minimum to at least 10 MB to have some extra space for future usage.

I'm talking about this permission window:

http://www.flexdevelopers.com/b/uploaded_images/permission-773954.png

Thanks


Yes. SharedObject.flush() takes a minDiskSpace:int parameter.

0

精彩评论

暂无评论...
验证码 换一张
取 消