home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Esportes / PlanetRacer.swf / scripts / DefineSprite_413 / frame_1 / DoAction.as < prev   
Text File  |  2007-09-26  |  993b  |  59 lines

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