home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / kingofthehill.swf / scripts / DefineSprite_335_mcSmoke / frame_1 / DoAction.as
Encoding:
Text File  |  2005-07-25  |  252 b   |  16 lines

  1. pScale = random(20) + 50;
  2. this._xscale = pScale;
  3. this._yscale = pScale;
  4. inSmoke._rotation = random(360);
  5. pScaleUp = random(4) + 2;
  6. if(random(2) == 0)
  7. {
  8.    gotoAndStop("smoke2");
  9.    play();
  10. }
  11. else
  12. {
  13.    gotoAndStop("smoke2");
  14.    play();
  15. }
  16.