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

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