Fookie——在JavaScript使用Flash存储本地数据

Posted on January 08, 2009 by Fdream

前几个月的时候就说过在JavaScript应用中使用Flash来存储本地数据,使用这个方式有一个非常大的好处就是:不同的浏览器可以共享相同的本地数据。

现在终于抽空整理了一下以前的应用,作为一个简单的开源项目发布了。在Google Code上的地址是:http://code.google.com/p/fookie/,代码里面有可以在vs中智能提示的文档。

JavaScript类名为Fookie,提供了以下几个Public方法:

  • Fookie.init(swfUrl, options);
  • Fookie.read(key);
  • Fookie.write(key, value);
  • Fookie.remove(key);
  • Fookie.clear();
分享 |
Categories:
Ajax Web
Tags:
, ,
Comments:
2 Comments
Views:
2,212 Views

Related Posts

2 Responses to <Fookie——在JavaScript使用Flash存储本地数据>

  1. Norris says:

    NB,用上了,非常感谢

    订阅了你的RSS,常关注

  2. Norris says:

    在你的GOOGLE PROJECT里创建一个ISSUE,建议更改部分代码

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>