home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / roam-and-protect.swf / scripts / DefineSprite_399 / frame_4 / DoAction.as
Encoding:
Text File  |  2005-09-29  |  569 b   |  34 lines

  1. if(refresh eq "false")
  2. {
  3.    cnt += 1;
  4.    if(cnt < 10)
  5.    {
  6.       tg2._rotation -= 5;
  7.       tg2._alpha += 10;
  8.       tg2._xscale -= 10;
  9.       tg2._yscale -= 10;
  10.       gotoAndPlay(_currentframe - 1);
  11.    }
  12.    else if(cnt < 40)
  13.    {
  14.       tg2._rotation -= 5;
  15.       gotoAndPlay(_currentframe - 1);
  16.    }
  17.    else if(cnt < 50)
  18.    {
  19.       tg2._rotation -= 5;
  20.       tg2._alpha -= 10;
  21.       tg2._xscale += 10;
  22.       tg2._yscale += 10;
  23.       gotoAndPlay(_currentframe - 1);
  24.    }
  25.    else
  26.    {
  27.       gotoAndStop(1);
  28.    }
  29. }
  30. else
  31. {
  32.    gotoAndPlay(2);
  33. }
  34.