home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / ntech.swf / scripts / frame_13 / DoAction_2.as next >
Encoding:
Text File  |  2006-06-13  |  666 b   |  30 lines

  1. _root.createEmptyMovieClip("laser",1001);
  2. laser.lineStyle(2,BeamColor,100);
  3. _root.createEmptyMovieClip("Crosslaser",999);
  4. Crosslaser.lineStyle(2,16777215,100);
  5. if(_ymouse > 126 && _ymouse < 630 && _xmouse > 126 && Special != "Destroyer")
  6. {
  7.    laser.moveTo(0,_ymouse);
  8.    laser.lineTo(_xmouse,_ymouse);
  9. }
  10. if(_ymouse > 126 && _ymouse < 630 && _xmouse > 126 && Special == "CrossBeam")
  11. {
  12.    Crosslaser.moveTo(_xmouse,126);
  13.    Crosslaser.lineTo(_xmouse,630);
  14. }
  15. play();
  16. if(_ymouse > 126 && _xmouse > 126 && _ymouse < 630)
  17. {
  18.    Mouse.hide();
  19. }
  20. else
  21. {
  22.    Mouse.show();
  23. }
  24. Hit = 0;
  25. if(GameOver)
  26. {
  27.    TheScore = ScoreCounter;
  28.    gotoAndPlay(15);
  29. }
  30.