Forums

ForumsProgramming Forum

Help With Cookies =d

Posted Mar 24, '08 at 4:19pm

rytherix

rytherix

71 posts

I was familiar with how to save/load cookies in actionscript 1.0, but my newest project is using flash player 9 and AS2.0, and saving and loading cookies has drastically changed appearantly. All I need to know how to do is save and load variables, can anyone help?

 

Posted Mar 24, '08 at 4:21pm

rytherix

rytherix

71 posts

btw, here would be my save button in AC1.0

on (release) {
    _root.dat = sharedobject.getLocal("game");
    _root.dat.data.NAME = _root.NAME;
}

and here would be my load button

on (release) {
    _root.dat = sharedobject.getLocal("game");

    _root.NAME = _root.dat.data.NAME;
}

 

Posted Apr 4, '08 at 11:31pm

rytherix

rytherix

71 posts

^bump for great justice

 

Posted Apr 5, '08 at 6:44am

Avrilicious

Avrilicious

558 posts

Switchfoot heres danks link

http://armorgames.com/user/dank

 

Posted Apr 5, '08 at 9:45am

Hermann0212

Hermann0212

156 posts

try dank first then see
Koshionos

 

Posted Apr 5, '08 at 11:55am

dank

dank

1,043 posts

Knight

What is your sharedobject declaration?

 

Posted Apr 6, '08 at 12:05am

rytherix

rytherix

71 posts

declaration? any code I would need in as1 is posted above, I dont think i used anything else. please help dank

 

Posted Apr 6, '08 at 1:16am

rytherix

rytherix

71 posts

Dank has already helped me on two occasions I believe, he is my best friend here =P

 

Posted Apr 6, '08 at 7:50am

jackice

jackice

62 posts

you-- to u

 
Reply to Help With Cookies =d

You must be logged in to post a reply!