Frame 1
_root.loadedBytes = _root.getBytesLoaded();
_root.totalBytes = _root.getBytesTotal();
_root.totalkbytes.text = (_root.loadedBytes + "/") + _root.totalBytes;
_root.percentageOutput = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.loadedkbytes.text = _root.percentageOutput + "%";
_root.pbar._xscale = _root.percentageOutput;
_root.loadedkbytes._x = _root.pbar._x + (4 * _root.percentageOutput);
if (_root.loadedBytes == _root.totalBytes) {
gotoAndStop (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
musica = new Sound();
_root.musica.attachSound("StarFallMusic01");
_root.musica.stop();
rSound = new Sound();
_root.rSound.attachSound("redSound");
gSound = new Sound();
_root.gSound.attachSound("greenSound");
tmusica.gotoAndPlay(2);
Instance of Symbol 16 MovieClip in Frame 3
onClipEvent (load) {
function __com_flashsandbox__(swfid, mc) {
var x;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var homebase;
mb = "__flashsandbox__";
homebase = "flashsandbox.com";
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(homebase);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(homebase);
}
u = (((((("http://" + homebase) + "/callhome.swf?fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid);
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_flashsandbox__("StarFallv.5", this);
}
Instance of Symbol 26 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation - 6;
}
Instance of Symbol 28 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation + 6;
}
Instance of Symbol 36 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation + 8;
}
Instance of Symbol 38 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Frame 4
stop();
Mouse.hide();
_root.fin = 0;
i = 0;
while (i < 20) {
goldstar0.duplicateMovieClip("star" + i, i + 400);
i++;
}
Instance of Symbol 26 MovieClip "redPill" in Frame 4
onClipEvent (load) {
_y = 500;
}
onClipEvent (enterFrame) {
if (_root.fin == 0) {
this._y = this._y + speed;
this._rotation = this._rotation - speed;
if (_y > (400 + _height)) {
speed = 0;
if (Math.round(Math.random() * 600) == 10) {
speed = (Math.random() * 3) + 5;
_x = ((Math.random() * _root.activeArea._width) + (_root.activeArea._x - (_root.activeArea._width / 2)));
_y = ((Math.random() * -200) - _height);
}
}
if (this.hitTest(_root.catcher)) {
if (_root.musicOn == 1) {
_root.rSound.start();
}
_y = 500;
_root.baseSpeed = _root.baseSpeed + 3;
_root.textClip.speedT.text = Math.round(_root.baseSpeed);
}
} else {
_y = 500;
}
}
Instance of Symbol 28 MovieClip "greenPill" in Frame 4
onClipEvent (load) {
_y = 500;
}
onClipEvent (enterFrame) {
if (_root.fin == 0) {
this._y = this._y + speed;
this._rotation = this._rotation - speed;
if (_y > (400 + _height)) {
speed = 0;
if (Math.round(Math.random() * 600) == 10) {
speed = (Math.random() * 3) + 5;
_x = ((Math.random() * _root.activeArea._width) + (_root.activeArea._x - (_root.activeArea._width / 2)));
_y = ((Math.random() * -200) - _height);
}
}
if (this.hitTest(_root.catcher)) {
if (_root.musicOn == 1) {
_root.gSound.start();
}
_y = 500;
_root.score = _root.score + (_root.missCount * 3);
_root.missCount = 0;
_root.dMeter.gotoAndStop(_root.missCount + 1);
}
} else {
_y = 500;
}
}
Instance of Symbol 44 MovieClip in Frame 4
onClipEvent (load) {
_root.timerC = 0;
_root.missCount = 0;
}
onClipEvent (enterFrame) {
if (_root.fin == 0) {
_root.timerC = _root.timerC + 1;
_root.textClip.timer.text = Math.round(_root.timerC / 24);
}
}
Instance of Symbol 36 MovieClip "redstar0" in Frame 4
onClipEvent (load) {
_y = 500;
}
onClipEvent (enterFrame) {
if (_root.fin == 0) {
this._y = this._y + speed;
this._rotation = this._rotation + speed;
if (_y > (400 + _height)) {
if (Math.round(Math.random() * 150) == 10) {
speed = (Math.random() * 3) + 10;
_x = ((Math.random() * _root.activeArea._width) + (_root.activeArea._x - (_root.activeArea._width / 2)));
_y = ((Math.random() * -2000) - _height);
}
}
if (this.hitTest(_root.catcher)) {
_y = 500;
_root.score = _root.score + 5;
}
} else {
_y = 500;
}
}
Instance of Symbol 46 MovieClip "catcher" in Frame 4
onClipEvent (enterFrame) {
_x = _root.bucket._x;
}
Instance of Symbol 31 MovieClip "bucket" in Frame 4
onClipEvent (load) {
_root.nextLevel = 20;
_root.score = 0;
_root.cLevel = 1;
_root.catchCounter = 0;
_root.baseSpeed = 1;
_root.textClip.speedT.text = _root.baseSpeed;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
a = _root.activeArea._x - (_root.activeArea._width / 2);
b = _root.activeArea._x + (_root.activeArea._width / 2);
if ((_x - (_width / 2)) < a) {
_x = (a + (_width / 2));
}
if ((_x + (_width / 2)) > b) {
_x = (b - (_width / 2));
}
this.scoreText.text = _root.score;
if (_root.catchCounter > 2) {
_root.missCount--;
_root.catchCounter = 0;
}
if (_root.missCount < 0) {
_root.missCount = 0;
}
_root.dMeter.gotoAndStop(_root.missCount + 1);
if (_root.missCount > 10) {
_root.gotoAndStop(6);
}
if (_root.score > _root.nextLevel) {
_root.cLevel++;
_root.nextLevel = _root.nextLevel + (15 * _root.cLevel);
_root.levelupText.text = "Level " + _root.cLevel;
_root.baseSpeed = (_root.baseSpeed + (_root.activeArea._width / 550)) + 0.5;
_root.textClip.speedT.text = Math.round(_root.baseSpeed);
_root.textClip.areaT.text = Math.round(100 * (_root.activeArea._width / 550)) + "%";
_root.activeArea._xscale = 100 + (_root.cLevel * 5);
if (_root.activeArea._xscale > 180) {
_root.activeArea._xscale = 183.5;
}
}
}
Instance of Symbol 38 MovieClip "goldstar0" in Frame 4
onClipEvent (load) {
_y = 500;
}
onClipEvent (enterFrame) {
if (_root.fin == 0) {
this._y = this._y + speed;
this._rotation = this._rotation + (speed * rdir);
if (_y > (400 + _height)) {
if (_y < 450) {
_root.missCount++;
_root.catchCounter = 0;
}
rdir = Math.round(Math.random() * 10) % 2;
if (rdir == 0) {
rdir = -1;
}
speed = (Math.random() * 5) + (_root.baseSpeed / 2);
if (speed < 5) {
speed = 5;
}
_x = ((Math.random() * _root.activeArea._width) + (_root.activeArea._x - (_root.activeArea._width / 2)));
_y = ((Math.random() * -1000) - _height);
}
if (this.hitTest(_root.catcher)) {
_root.catchCounter++;
_y = 500;
_root.score++;
}
} else {
_y = 500;
}
}
Frame 5
stop();
Frame 6
stop();
Mouse.show();
_root.fStats.finalScore.text = _root.score;
_root.fStats.finalTime.text = Math.round(_root.timerC / 24);
_root.fStats.finalLevel.text = _root.cLevel;
_root.fin = 1;
Symbol 21 Button
on (release, keyPress "s") {
play();
}
Symbol 22 MovieClip Frame 1
_root.musicOn = 0;
_root.musica.stop();
stop();
Symbol 22 MovieClip Frame 2
_root.musicOn = 1;
_root.musica.start(0, 9999);
_root.musica.setVolume(100);
stop();
Symbol 41 Button
on (release) {
_root.misscount = 0;
_root.timerC = 0;
_root.score = 0;
_root.gotoAndPlay(4);
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 2
stop();
Symbol 61 MovieClip Frame 3
stop();
Symbol 61 MovieClip Frame 4
stop();
Symbol 61 MovieClip Frame 5
stop();
Symbol 61 MovieClip Frame 6
stop();
Symbol 61 MovieClip Frame 7
stop();
Symbol 61 MovieClip Frame 8
stop();
Symbol 61 MovieClip Frame 9
stop();
Symbol 61 MovieClip Frame 10
stop();
Symbol 61 MovieClip Frame 11
stop();
Symbol 67 Button
on (release) {
_root.misscount = 0;
_root.timerC = 0;
_root.score = 0;
_root.gotoAndPlay(4);
}