home *** CD-ROM | disk | FTP | other *** search
/ PC World Plus! (NZ) 2001 June / HDC50.iso / FreeSoftware / MicrosoftXP / main.swf / scripts / DefineSprite_215 / frame_1 / DoAction.as
Text File  |  2001-03-22  |  579b  |  24 lines

  1. if(_root.timerActive)
  2. {
  3.    if(_root.timer == 0)
  4.    {
  5.       _root.timer = getTimer();
  6.    }
  7.    _root.currentx = math.floor(_root._xmouse);
  8.    _root.currenty = math.floor(_root._ymouse);
  9.    if(_root.mousex == _root.currentx && _root.mousey == _root.currenty)
  10.    {
  11.       if(60000 < getTimer() - _root.timer)
  12.       {
  13.          _level0.gotoandstop("start");
  14.          loadMovieNum("intro.swf",1,"GET");
  15.       }
  16.    }
  17.    else
  18.    {
  19.       _root.timer = getTimer();
  20.       _root.mousex = math.floor(_root._xmouse);
  21.       _root.mousey = math.floor(_root._ymouse);
  22.    }
  23. }
  24.