Forums

ForumsProgramming Forum

Important Development Topics

Posted Mar 21, '14 at 6:35pm

HouseHero

HouseHero

5 posts

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

 

Posted Mar 21, '14 at 7:12pm

weirdlike

weirdlike

475 posts

Knight

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 :)

 
Reply to Important Development Topics

You must be logged in to post a reply!