A Flash Developer Resource Site

Results 1 to 20 of 51

Thread: pixelBoy series_first release

Threaded View

  1. #30
    Time Killer sspskater's Avatar
    Join Date
    Jun 2002
    Location
    Closer to u then u think
    Posts
    493
    Shared Objects isn't saving to a text file. Shared Objects is cookies itself. The syntex is as follows.

    To save a cookie.
    setCookie("stats","name",_root.name);

    Okay the first two words in " " is the name of the cookie it will save in. Kind of like a file cabinet. It would be in the stats folder and name would equal _root.name.

    To load the Cookie.
    _root.name = getCookie("stats","name");

    All your doing is specifing the file name since name equals _root.name. The first part with the _root.name is the varible you want the cookie to equal. And thats all there is to it. Keep in mind this is only used in Flash MX.

    Laters.
    Last edited by sspskater; 03-13-2003 at 06:06 PM.
    A young mind is more knowledgable then a mind corrupted and blinded by society.

    Portfolio: My Portfolio
    FFGuardians:PHP MMORPG(Closed Beta)
    PyroWare Studios:PyroWare Studios-Flash&Web Development

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center