home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / Titans / raven.swf / scripts / DefineSprite_128 / frame_1 / DoAction.as
Text File  |  2006-01-05  |  558b  |  29 lines

  1. udah = 0;
  2. onenterframe = function()
  3. {
  4.    if(r.stopscroll)
  5.    {
  6.       if(udah)
  7.       {
  8.          gotoAndStop(2);
  9.       }
  10.       if(r.esp)
  11.       {
  12.          if(!r.got)
  13.          {
  14.             if(this.hittest(r._xmouse,r._ymouse,1))
  15.             {
  16.                udah = 1;
  17.                r.zwater.start();
  18.                r.got = 999;
  19.                r.attachmovie("water","water",r.rd2);
  20.                r.water._x = r._xmouse;
  21.                r.water._y = r._ymouse;
  22.                r.rd2--;
  23.             }
  24.          }
  25.       }
  26.    }
  27. };
  28. stop();
  29.