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