Free video Tutorials
Updating every hour!

Flash RPG: Save/Load Levels


Code: in save button: on (release){ _root.pos = SharedObject.getLocal(”cookie”); _root.pos.data.picture = _root.picture } in load button: on (press){ _root.pos = SharedObject.getLocal(”cookie”); _root.picture = _root.pos.data.picture } on(release){ if(_root.picture==1){ _root.gotoAndStop(2); } if(_root.picture==2){ _root.gotoAndStop(3); } if(_root.picture==3){ _root.gotoAndStop(4); } }