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

  1. ys = -36;
  2. dis = 0.5 * r.distance;
  3. _X = 100 + random(400);
  4. _Y = 450;
  5. onenterframe = function()
  6. {
  7.    _Y = _Y + ys;
  8.    ys += 2;
  9.    _xscale = _xscale * 1.02;
  10.    _yscale = _yscale * 1.02;
  11.    if(ys > 2)
  12.    {
  13.       s.l1.play();
  14.       s.l2.play();
  15.       s.l3.play();
  16.       gotoAndPlay(5);
  17.    }
  18. };
  19. stop();
  20.