home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / snowrider.swf / scripts / DefineSprite_151 / frame_1 / DoAction.as
Encoding:
Text File  |  2005-07-22  |  315 b   |  10 lines

  1. if(!§§pop())
  2. {
  3.    speed = parseInt(Math.random() * 4 + 1);
  4.    rotation = speed * (parseInt(Math.random() * -3) + 1);
  5.    _X = parseInt(Math.random() * 300);
  6.    _Y = parseInt(Math.random() * -300);
  7.    _xscale = _yscale = parseInt(Math.random() * 50 * speed + 50);
  8.    _alpha = parseInt(_xscale / 5 + 50);
  9. }
  10.