home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / ntech.swf / scripts / DefineSprite_159 / frame_233 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  584 b   |  23 lines

  1. this.createEmptyMovieClip("Etching",101);
  2. Etching.moveTo(LaserBlast._x,LaserBlast._y);
  3. Etching.lineStyle(0.5,16776960,100);
  4. this.onEnterFrame = function()
  5. {
  6.    Etching.lineTo(LaserBlast._x,LaserBlast._y);
  7.    Another++;
  8.    if(Another == 3)
  9.    {
  10.       A = new Array();
  11.       _root.attachMovie("LaserSparkerSetupID","LaserSparker" + MovD,MovD);
  12.       A[MovD] = _root["LaserSparker" + MovD];
  13.       A[MovD]._x = LaserBlast._x + this._x;
  14.       A[MovD]._y = LaserBlast._y + this._y;
  15.       MovD++;
  16.       Another = 0;
  17.    }
  18.    if(MovD == 100)
  19.    {
  20.       MovD = 0;
  21.    }
  22. };
  23.