home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Corrida / HighwaySpeed.swf / scripts / DefineSprite_173 / frame_1 / DoAction.as
Encoding:
Text File  |  2001-07-14  |  876 b   |  55 lines

  1. if(eval("../:car1") == "1")
  2. {
  3.    set("../:car1","2");
  4.    tellTarget("../oppcar1")
  5.    {
  6.       gotoAndStop("appear");
  7.       play();
  8.    }
  9. }
  10. if(eval("../:car2") == "1")
  11. {
  12.    set("../:car2","2");
  13.    tellTarget("../oppcar2")
  14.    {
  15.       gotoAndStop("appear");
  16.       play();
  17.    }
  18. }
  19. if(eval("../:car3") == "1")
  20. {
  21.    set("../:car3","2");
  22.    tellTarget("../oppcar3")
  23.    {
  24.       gotoAndStop("appear");
  25.       play();
  26.    }
  27. }
  28. if(eval("../:car4") == "1")
  29. {
  30.    set("../:car4","2");
  31.    tellTarget("../oppcar4")
  32.    {
  33.       gotoAndStop("appear");
  34.       play();
  35.    }
  36. }
  37. if(eval("../:car5") == "1")
  38. {
  39.    set("../:car5","2");
  40.    tellTarget("../oppcar5")
  41.    {
  42.       gotoAndStop("appear");
  43.       play();
  44.    }
  45. }
  46. if(eval("../:car6") == "1")
  47. {
  48.    set("../:car6","2");
  49.    tellTarget("../oppcar6")
  50.    {
  51.       gotoAndStop("appear");
  52.       play();
  53.    }
  54. }
  55.