home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / taxidriver.swf / scripts / DefineSprite_395 / frame_1 / DoAction.as < prev   
Encoding:
Text File  |  2007-03-12  |  934 b   |  53 lines

  1. function pauseFunction()
  2. {
  3.    if(_global.e == true)
  4.    {
  5.       _root.g.h("f");
  6.       _global.e = false;
  7.       _root[┬º┬ºconstant(4)][┬º┬ºconstant(5)] = false;
  8.    }
  9.    else
  10.    {
  11.       _root.g.h(┬º┬ºconstant(6));
  12.       _global.e = true;
  13.       _root[┬º┬ºconstant(4)][┬º┬ºconstant(5)] = true;
  14.    }
  15. }
  16. function soundFunction()
  17. {
  18.    if(_root[┬º┬ºconstant(7)] == true)
  19.    {
  20.       _root[┬º┬ºconstant(7)] = false;
  21.       _root[┬º┬ºconstant(8)][┬º┬ºconstant(9)]();
  22.    }
  23.    else
  24.    {
  25.       _root[┬º┬ºconstant(7)] = true;
  26.       _root[┬º┬ºconstant(8)][┬º┬ºconstant(10)](0,9999);
  27.    }
  28.    trace(_root[┬º┬ºconstant(7)]);
  29. }
  30. function mainMenuFunction()
  31. {
  32.    _root.h(┬º┬ºconstant(11));
  33. }
  34. §§push(true);
  35. §§push(false);
  36. §§push(false);
  37. §§push(true);
  38. while(true)
  39. {
  40.    if(┬º┬ºpop())
  41.    {
  42.    }
  43.    if(┬º┬ºpop())
  44.    {
  45.    }
  46.    if(┬º┬ºpop())
  47.    {
  48.       break;
  49.    }
  50.    ┬º┬ºpush(true);
  51.    ┬º┬ºpush(false);
  52. }
  53.