Flash CS5 pro trial
as 2.0
Hey,
ive been trying to create a save/load button in my game
i want to save some of my variables
ive been searching but i cant find decent help
to show my wanted result the easy way
frame 1 variables:
HpAmount = 100;
frame 2 save/load button
its broken dosnt work
frame 3 mainmenu
go to frame 2/4
frame 4 increase HpAmount by 10
return to frame 3
so i start by going to frame 4 hp is 100+10 = 110
go to frame 2 to save my file
reload the game
start with frame 1 again hp = 100
go to frame 2 press load my file
then hp should be the saved 110
anyone can tell me the code to make this ingame save button
its for my game on www.Kongregate.com
thx for your effort,
Kascas