home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / PrettyBang.swf / scripts / DefineSprite_93 / frame_83 / DoAction.as
Encoding:
Text File  |  2007-09-27  |  401 b   |  30 lines

  1. var f = 0;
  2. if(this._yscale < 100)
  3. {
  4.    this._yscale += 10;
  5.    f = 1;
  6. }
  7. else if(this._yscale > 100)
  8. {
  9.    this._yscale = 100;
  10. }
  11. if(!f)
  12. {
  13.    if(whirl._xscale < 100)
  14.    {
  15.       whirl._xscale += 5;
  16.       whirl._yscale += 5;
  17.       f = 1;
  18.    }
  19.    else if(whirl._xscale > 100)
  20.    {
  21.       whirl._xscale = 100;
  22.       whirl._yscale = 100;
  23.    }
  24. }
  25. if(f)
  26. {
  27.    prevFrame();
  28.    play();
  29. }
  30.