home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / orbitballs10-blank.swf / scripts / DefineSprite_190 / frame_1 / DoAction.as
Encoding:
Text File  |  2008-09-02  |  1.1 KB  |  53 lines

  1. if(_root.game_over == 0)
  2. {
  3.    if(cpt == "")
  4.    {
  5.       cpt = 0;
  6.    }
  7.    if(_root.timeb._width > 3)
  8.    {
  9.       _root.timeb._width -= 3;
  10.       if(cpt == 6)
  11.       {
  12.          _root.scorp = _root.scorp + 1;
  13.          cpt = 0;
  14.       }
  15.       else
  16.       {
  17.          cpt++;
  18.       }
  19.       _root.scorepts.scorepts = _root.scorp;
  20.    }
  21.    else if(_root.lang == "fr" or _root.lang == "FR" or _root.lang == "Fr")
  22.    {
  23.       if(_root.score.score > 0)
  24.       {
  25.          _parent.replayEN._y = 1000;
  26.          _parent.replayFR._y = 180;
  27.          _parent.nextEN._y = 1000;
  28.          _parent.nextFR._y = 1000;
  29.       }
  30.       else
  31.       {
  32.          _parent.nextEN._y = 1000;
  33.          _parent.nextFR._y = 180;
  34.          _parent.replayEN._y = 1000;
  35.          _parent.replayFR._y = 1000;
  36.       }
  37.    }
  38.    else if(_root.score.score > 0)
  39.    {
  40.       _parent.replayFR._y = 1000;
  41.       _parent.replayEN._y = 180;
  42.       _parent.nextFR._y = 1000;
  43.       _parent.nextEN._y = 1000;
  44.    }
  45.    else
  46.    {
  47.       _parent.nextFR._y = 1000;
  48.       _parent.nextEN._y = 180;
  49.       _parent.replayFR._y = 1000;
  50.       _parent.replayEN._y = 1000;
  51.    }
  52. }
  53.