Login | Register

February 24th 2002 | Jens C Brynildsen

0 comments

 

Shared Objects documented

One of the most powerful features of Flash MX is the Shared Objects. Yesterday, Macromedia finally released some documentation for it.

You know cookies? Not the ones to eat, but the ones used to store information on a visitors computer? This feature will let you dump some code onto peoples computers. Shared Objects is not a way to make a MP3 file sharing program, but it can allow you to store a significant amount of data on a users computer, much in the same way as cookies work. The difference is that Shared Objects are much easier to work with and can contain more information.

What can this be used for? Macromedia's example shows a visit-counter that will count the number of times a visitor has visited your site. Nice and simple, but much more advanced stuff can be done. You can for instance make data (such as these news stories) available in offline mode or keep chunks of code on a users machine so that he/she will not have to download it more than once. There's also updated docs for LocalConnection available. LocalConnection will allow you to pass data and objects between different Flash movies on a page without using FSCommand.
Check out the example at MM

 

Rate this article
 

 

Comments

No comments for this page.

Submit a comment

Only registered members can comment. Click the link at the top of this page to register.