ForumsProgramming ForumImportant Development Topics

1 1513
HouseHero
offline
HouseHero
5 posts
70

I almost tried every thing in AS3. But now I am leaving with 1 topic -
Saving and Loading (Action Script 3)
Can please anyone help me
And (If you Can) Please answer on my profile

  • 1 Reply
weirdlike
offline
weirdlike
1,309 posts
28,720

its simple with shared objects

var savedData:SharedObject;
savedData = SharedObject.getLocal("savedDataName"

then if you want to save lives take the lives variable and create the data

savedData.data.lives = variableContainingLives;

if you want to get the data then just switch it around

variableContainingLives = savedData.data.lives;

THIS LINK explains more in depth and also provides source for you to follow along and work your own solution

good luck

Showing 1-1 of 1