home *** CD-ROM | disk | FTP | other *** search
- this._x -= this.myspeed;
- if(this.newinstance != "false")
- {
- this.rand1 = Math.random();
- this.myspeed = this.rand1 / 4;
- this._x = 320 * Math.random();
- this._y = 240 * Math.random();
- this._xscale = 100 * this.rand1;
- this._yscale = 100 * this.rand1;
- }
- this.newinstance = "false";
- if(this._x < -2)
- {
- this.myspeed = this.rand1 / 4;
- this._x = 322;
- this._y = 240 * Math.random();
- this._xscale = 100 * this.rand1;
- this._yscale = 100 * this.rand1;
- }
-