home *** CD-ROM | disk | FTP | other *** search
/ Champak 122 / Vol 122.iso / games / need_for.swf / scripts / frame_4 / DoAction.as
Encoding:
Text File  |  2011-01-06  |  1.6 KB  |  54 lines

  1. _root.bttn_start.onRollOver = function()
  2. {
  3.    _root.centr_txt.gotoAndStop(2);
  4. };
  5. _root.bttn_help.onRollOver = function()
  6. {
  7.    _root.centr_txt.gotoAndStop(3);
  8. };
  9. _root.bttn_start.onRollOut = function()
  10. {
  11.    _root.centr_txt.gotoAndStop(1);
  12. };
  13. _root.bttn_help.onRollOut = function()
  14. {
  15.    _root.centr_txt.gotoAndStop(1);
  16. };
  17. numlevel = 1;
  18. tim = 0;
  19. score = 0;
  20. lives = 3;
  21. countscr = 9;
  22. var bonus_get_Sound = new Sound();
  23. bonus_get_Sound.attachSound("bonus_get");
  24. var bonus_lost_Sound = new Sound();
  25. bonus_lost_Sound.attachSound("bonus_lost");
  26. var button_active_Sound = new Sound();
  27. button_active_Sound.attachSound("button_active");
  28. var button_press_Sound = new Sound();
  29. button_press_Sound.attachSound("button_press");
  30. var car_expl_Sound = new Sound();
  31. car_expl_Sound.attachSound("car_expl");
  32. var engine_Sound = new Sound();
  33. engine_Sound.attachSound("engine");
  34. var engine_start_Sound = new Sound();
  35. engine_start_Sound.attachSound("engine_start");
  36. var game_over_Sound = new Sound();
  37. game_over_Sound.attachSound("game_over");
  38. var level_finish_Sound = new Sound();
  39. level_finish_Sound.attachSound("level_finish");
  40. var rabbit_Sound = new Sound();
  41. rabbit_Sound.attachSound("rabbit");
  42. var score_get_Sound = new Sound();
  43. score_get_Sound.attachSound("score_get");
  44. var score_get_Sound = new Sound();
  45. score_get_Sound.attachSound("score_get");
  46. var Shot1_Sound = new Sound();
  47. Shot1_Sound.attachSound("Shot1");
  48. var stone_Sound = new Sound();
  49. stone_Sound.attachSound("stone");
  50. var tick_Sound = new Sound();
  51. tick_Sound.attachSound("tick");
  52. var water_Sound = new Sound();
  53. water_Sound.attachSound("water");
  54.