home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / mid_flight.swf / scripts / frame_33 / DoAction.as
Encoding:
Text File  |  2008-08-07  |  575 b   |  32 lines

  1. call("fadescreen");
  2. stopAllSounds();
  3. _root.zmaclaugh.start();
  4. ratingskor = [0,1000,2500,5000];
  5. var i = 0;
  6. while(i < ratingskor.length)
  7. {
  8.    if(eval("/:score") >= ratingskor[i])
  9.    {
  10.       set("/:rating",i + 1);
  11.    }
  12.    i++;
  13. }
  14. delete onenterframe;
  15. _root._y = 0;
  16. var i = 0;
  17. while(i < still.length)
  18. {
  19.    _root[still[i]]._y = stillpos[i];
  20.    i++;
  21. }
  22. var i = 0;
  23. while(i < eval("/:allo").length)
  24. {
  25.    removeMovieClip(_root[eval("/:allo")[i]]);
  26.    i++;
  27. }
  28. stop();
  29. btnSubmit = "yes";
  30. xxscore = eval("/:score");
  31. loadVariablesNum("savegame.jsp",0,"POST");
  32.