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

  1. a.gotoAndStop("fall");
  2. r.score += 50 * r.point;
  3. r.zboom3.start();
  4. d = 85;
  5. ys = -4;
  6. onenterframe = function()
  7. {
  8.    a._y += ys;
  9.    if(ys < 20)
  10.    {
  11.       ys++;
  12.    }
  13.    _Y = y + math.sin(b2++ * 0.3) * 5;
  14.    d--;
  15.    if(d == 55)
  16.    {
  17.       r.zfall.start();
  18.    }
  19.    if(!d)
  20.    {
  21.       r.gotoAndPlay("win");
  22.    }
  23. };
  24. stop();
  25.