home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / BugTime.swf / scripts / DefineSprite_161 / frame_16 / DoAction.as
Encoding:
Text File  |  2005-10-04  |  244 b   |  8 lines

  1. if(Number(random(6)) > 3)
  2. {
  3.    rand = random(99);
  4.    duplicateMovieClip("/pickup","collectable" add rand,16384 + (Number(rand) + 3000));
  5.    setProperty("/collectable" add rand, _X, _X);
  6.    setProperty("/collectable" add rand, _Y, _Y);
  7. }
  8.