File: simple_example.html

Recommend this page to a friend!
  Classes of Arturs Sosins   FCookie   simple_example.html   Download  
File: simple_example.html
Role: Example script
Content type: text/plain
Description: Simple example saving and retrieving value
Class: FCookie
Store and retrieve values in Flash cookies
Author: By
Last change:
Date: 13 years ago
Size: 1,046 bytes
 

Contents

Class file image Download
<!-- /************************************************************* * This script is developed by Arturs Sosins aka ar2rsawseen, http://webcodingeasy.com * Fee free to distribute and modify code, but keep reference to its creator * * This class can be used to manipulate SharedObjects (aka Flash cookies) * using swf file provided in package with different domain and namespace sstings. * This class can set values from javascript, get saved values from * SharedObjects (preserving data types) and delete SharedObjects. * * For more information, examples and online documentation visit: * http://webcodingeasy.com/JS-classes/Manage-SharedObjects-using-Javascript **************************************************************/ --> <html> <head> </head> <body> <script type="text/javascript" src="./fcookie.packed.js" ></script> <script type="text/javascript"> var fc = new fcookie({ debug: true, onload: function() { fc.set("key","value"); alert(fc.get("key")); } }); </script> </body> </html>