Persisting data

From Whirled Club Wiki
Jump to navigation Jump to search

Whether you program with Adobe Flash CS3 or just AS3 directly, you are probably already familiar with the concept of flash cookies/local shared objects. While shared objects are still available to you in the Whirled environment, Whirled also provides a cookie utility class that allows you to save your data on the server instead of just on the user's machine.

More information on the UserCookie object can be found here. You can also see a more complicated code example using the user cookie in our Underwhirled Drift game.

See Also