home *** CD-ROM | disk | FTP | other *** search
- Speed = Math.random() * 4 + 1;
- this.onEnterFrame = function()
- {
- if(this.hitTest(_root.laser) || this.hitTest(_root.WaveBlast))
- {
- _root.Life += 20;
- _root.attachMovie("PowerUpShineID","PowerUpShine",100);
- _root.PowerUpShine._x = this._x;
- _root.PowerUpShine._y = this._y;
- this.unloadMovie();
- }
- if(this._y > 660)
- {
- this.unloadMovie();
- }
- this._y += Speed;
- };
-