home *** CD-ROM | disk | FTP | other *** search
- this.onEnterFrame = function()
- {
- if(_root.startmoving == 1)
- {
- this._y -= _root.snowball.yspeed / 4;
- if(_Y < -140 - _height)
- {
- _Y = 500;
- _X = random(600);
- this.gotoAndStop(1);
- }
- }
- else
- {
- _Y = _Y + 2;
- }
- if(this.hitTest(_root.snowball.detector))
- {
- if(_root.weight < 300)
- {
- _root.snowball.play();
- }
- else
- {
- this.play();
- }
- }
- };
- stop();
-