home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / Titans / raven.swf / scripts / DefineSprite_36_lill / frame_1 / DoAction.as
Encoding:
Text File  |  2006-01-05  |  313 b   |  20 lines

  1. _xscale = 30 + random(80);
  2. _yscale = 20 + random(60);
  3. ys = 4 + random(5);
  4. ro = 4 + random(10);
  5. if(random(100) > 50)
  6. {
  7.    ro = - ro;
  8. }
  9. onenterframe = function()
  10. {
  11.    _rotation = _rotation + ro;
  12.    _Y = _Y + ys;
  13.    ys += r.grav;
  14.    if(_Y > 420)
  15.    {
  16.       this.removeMovieClip();
  17.    }
  18. };
  19. stop();
  20.