home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / Dual.swf / scripts / frame_5 / DoAction.as < prev   
Encoding:
Text File  |  2008-09-03  |  474 b   |  27 lines

  1. stop();
  2. playBut.onRelease = function()
  3. {
  4.    _root.gotoAndPlay("mode");
  5. };
  6. achi.onRelease = function()
  7. {
  8.    _root.gotoAndPlay("achiev");
  9. };
  10. guardar = SharedObject.getLocal("dual");
  11. if(guardar.data.plays == undefined)
  12. {
  13.    guardar.data.plays = 0;
  14. }
  15. if(guardar.data.powers == undefined)
  16. {
  17.    guardar.data.powers = 0;
  18. }
  19. if(guardar.data.enemy == undefined)
  20. {
  21.    guardar.data.enemy = 0;
  22. }
  23. if(guardar.data.best == undefined)
  24. {
  25.    guardar.data.best = 0;
  26. }
  27.