home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / ntech.swf / scripts / DefineSprite_87_DestroyerPowerUPID / frame_2 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  469 b   |  16 lines

  1. this.onEnterFrame = function()
  2. {
  3.    this._y += Speed;
  4.    if(this.hitTest(_root.laser) || this.hitTest(_root.WaveBlast))
  5.    {
  6.       _root.Special = "Destroyer";
  7.       _root.SAmmo = 50;
  8.       _root.TotSAmmo = 50;
  9.       _root.attachMovie("DestroyerDeviceID","DestroyerDevice",1006);
  10.       _root.attachMovie("PowerUpShineID","PowerUpShine",100);
  11.       _root.PowerUpShine._x = this._x;
  12.       _root.PowerUpShine._y = this._y;
  13.       this.unloadMovie();
  14.    }
  15. };
  16.