Combined Code
frame 1 {
ifFrameLoaded (21) {
gotoAndPlay(4);
}
bar._xscale = (_framesloaded / _totalframes) * '100';
}
movieClip 4 {
}
movieClip 8 {
frame 3 {
gotoAndPlay(1);
}
}
frame 2 {
gotoAndPlay(1);
}
button 13 {
on (release) {
getURL('http://www.dubster.com', '_blank');
}
}
frame 15 {
stop();
}
button 22 {
on (release) {
play();
}
}
frame 16 {
loop2 = '1';
score = '0';
tellTarget ('splashing2') {
gotoAndStop(17);
}
}
button 24 {
on (keyPress '<Up>') {
nextFrame();
}
}
button 25 {
on (keyPress '<Right>') {
gotoAndStop(_currentframe + '4');
}
}
button 26 {
on (keyPress '<Down>') {
prevFrame();
}
}
button 27 {
on (keyPress '<Left>') {
gotoAndStop(_currentframe - '4');
}
}
movieClip 28 {
frame 1 {
stop();
}
}
movieClip 32 {
frame 19 {
stop();
}
}
movieClip 33 {
frame 19 {
stop();
}
}
movieClip 34 {
frame 1 {
stop();
}
}
movieClip 37 {
frame 6 {
stop();
}
}
movieClip 38 {
frame 6 {
stop();
}
}
movieClip 39 {
frame 17 {
stop();
}
}
frame 18 {
loop1 = '1';
loop2 += '1';
if (loop2 == '25') {
gotoAndPlay(4);
}
rando1 = random('16');
tellTarget ('splash') {
gotoAndStop(../:rando1);
}
tellTarget ('splash/fall') {
gotoAndPlay(1);
}
}
frame 20 {
tellTarget ('splash/fall') {
nextFrame();
}
loop1 += '1';
if (loop1 == '18') {
if (splash._currentframe == ring._currentframe) {
score += '1';
} else {
tellTarget ('splashing2') {
gotoAndStop(../:rando1);
}
tellTarget ('splashing2/wa') {
gotoAndPlay(1);
}
}
gotoAndPlay(18);
}
gotoAndPlay(19);
}