SharedObject

Object
  |
  +-SharedObject

public dynamic class SharedObject
extends Object

The SharedObject class is used to read and store limited amounts of data on a user’s computer. Shared objects offer real-time data sharing between objects that are persistent on the user’s computer. Local shared objects are similar to browser cookies.

Here are three possible uses of shared objects:

  • A game that stores a user’s high scores. The game could provide personalized data for users, such as user name and high score, without dedicating storage on the server.

  • A phone book application that can work either online or offline. The phone book, delivered as a projector application, could contain a local data cache with a list of names and phone numbers entered ...

Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.