home *** CD-ROM | disk | FTP | other *** search
- function step()
- {
- vx *= 1.01;
- frameCount += frameRate;
- if(frameCount >= maxFrame)
- {
- this.unloadMovie();
- }
- else
- {
- anim.gotoAndStop(Math.floor(frameCount));
- }
- _Y = _Y - vx;
- }
- var frameCount = 1;
- var frameRate = 2;
- var maxFrame = 100;
- var rate = (random(100) - 50) / 10;
- var vx = 1;
-