开发者

AS3 - Define shared object size

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜