home *** CD-ROM | disk | FTP | other *** search
- MovD = 0;
- StartMovie = 0;
- Another = 0;
- Etching.moveTo(LaserBlast._x,LaserBlast._y);
- Etching.lineStyle(0.5,16776960,100);
- stop();
- this.onEnterFrame = function()
- {
- Etching.lineTo(LaserBlast._x,LaserBlast._y);
- Another++;
- if(Another == 3)
- {
- A = new Array();
- _root.attachMovie("LaserSparkerSetupID","LaserSparker" + MovD,MovD);
- A[MovD] = _root["LaserSparker" + MovD];
- A[MovD]._x = LaserBlast._x + this._x;
- A[MovD]._y = LaserBlast._y + this._y;
- MovD++;
- Another = 0;
- }
- if(MovD == 100)
- {
- MovD = 0;
- }
- StartMovie++;
- if(StartMovie == 120)
- {
- play();
- }
- };
-