Frame 1
fscommand ("fullscreen", "true");
this.DaftPunkLogo.onEnterFrame = function () {
poidTotal = this.getBytesTotal();
poidCharge = this.getBytesLoaded();
pourcentage = Math.round((poidCharge / poidTotal) * 100);
if (pourcentage == 100) {
this.gotoAndStop(2);
} else {
_root.DaftPunkLogo._alpha = pourcentage;
}
};
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
function lightOff() {
this.L11.gotoAndStop(7);
this.L12.gotoAndStop(7);
this.L13.gotoAndStop(7);
this.L14.gotoAndStop(7);
this.L15.gotoAndStop(7);
this.L16.gotoAndStop(7);
this.L17.gotoAndStop(7);
this.L21.gotoAndStop(7);
this.L22.gotoAndStop(7);
this.L23.gotoAndStop(7);
this.L24.gotoAndStop(7);
this.L25.gotoAndStop(7);
this.L26.gotoAndStop(7);
this.L27.gotoAndStop(7);
this.L31.gotoAndStop(7);
this.L32.gotoAndStop(7);
this.L33.gotoAndStop(7);
this.L34.gotoAndStop(7);
this.L35.gotoAndStop(7);
this.L36.gotoAndStop(7);
this.L37.gotoAndStop(7);
this.L41.gotoAndStop(7);
this.L42.gotoAndStop(7);
this.L43.gotoAndStop(7);
this.L44.gotoAndStop(7);
this.L45.gotoAndStop(7);
this.L46.gotoAndStop(7);
this.L47.gotoAndStop(7);
}
function sampleOff() {
_Harder.stop("_Harder.mp3");
_Better.stop("_Better.mp3");
_Faster.stop("_Faster.mp3");
_Stronger.stop("_Stronger.mp3");
_WorkIt.stop("_WorkIt.mp3");
_MakeIt.stop("_MakeIt.mp3");
_DoIt.stop("_DoIt.mp3");
_MakesUs.stop("_MakesUs.mp3");
_MoreThan.stop("_MoreThan.mp3");
_Hour1.stop("_Hour1.mp3");
_Hour2.stop("_Hour2.mp3");
_Never.stop("_Never.mp3");
_Ever.stop("_Ever.mp3");
_After.stop("_After.mp3");
_WorkIs.stop("_WorkIs.mp3");
_Over.stop("_Over.mp3");
_S1.stop("_S1.mp3");
_S2.stop("_S2.mp3");
_S3.stop("_S3.mp3");
_S4.stop("_S4.mp3");
_S5.stop("_S5.mp3");
_S6.stop("_S6.mp3");
_S7.stop("_S7.mp3");
_S8.stop("_S8.mp3");
_S9.stop("_S9.mp3");
_S10.stop("_S10.mp3");
_S11.stop("_S11.mp3");
_S12.stop("_S12.mp3");
}
controlPlay = 2;
controlHelp = 1;
fullScreen = 2;
this.LFullScreen.gotoAndStop(2);
this.LControlPlay.gotoAndStop(2);
boucle18 = 1;
boucle28 = 1;
boucle38 = 1;
boucle48 = 1;
BMain = new Sound();
BMain.attachSound("BMain.mp3");
BPumPam = new Sound();
BPumPam.attachSound("BPumPam.wav");
BToungTamTam = new Sound();
BToungTamTam.attachSound("BToungTamTam.mp3");
BWahWah = new Sound();
BWahWah.attachSound("BWahWah.mp3");
_Harder = new Sound();
_Harder.attachSound("_Harder.mp3");
_Better = new Sound();
_Better.attachSound("_Better.mp3");
_Faster = new Sound();
_Faster.attachSound("_Faster.mp3");
_Stronger = new Sound();
_Stronger.attachSound("_Stronger.mp3");
_WorkIt = new Sound();
_WorkIt.attachSound("_WorkIt.mp3");
_MakeIt = new Sound();
_MakeIt.attachSound("_MakeIt.mp3");
_DoIt = new Sound();
_DoIt.attachSound("_DoIt.mp3");
_MakesUs = new Sound();
_MakesUs.attachSound("_MakesUs.mp3");
_MoreThan = new Sound();
_MoreThan.attachSound("_MoreThan.mp3");
_Hour1 = new Sound();
_Hour1.attachSound("_Hour1.mp3");
_Hour2 = new Sound();
_Hour2.attachSound("_Hour2.mp3");
_Never = new Sound();
_Never.attachSound("_Never.mp3");
_Ever = new Sound();
_Ever.attachSound("_Ever.mp3");
_After = new Sound();
_After.attachSound("_After.mp3");
_WorkIs = new Sound();
_WorkIs.attachSound("_WorkIs.mp3");
_Over = new Sound();
_Over.attachSound("_Over.mp3");
_S1 = new Sound();
_S1.attachSound("_S1.mp3");
_S2 = new Sound();
_S2.attachSound("_S2.mp3");
_S3 = new Sound();
_S3.attachSound("_S3.mp3");
_S4 = new Sound();
_S4.attachSound("_S4.mp3");
_S5 = new Sound();
_S5.attachSound("_S5.mp3");
_S6 = new Sound();
_S6.attachSound("_S6.mp3");
_S7 = new Sound();
_S7.attachSound("_S7.mp3");
_S8 = new Sound();
_S8.attachSound("_S8.mp3");
_S9 = new Sound();
_S9.attachSound("_S9.mp3");
_S10 = new Sound();
_S10.attachSound("_S10.mp3");
_S11 = new Sound();
_S11.attachSound("_S11.mp3");
_S12 = new Sound();
_S12.attachSound("_S12.mp3");
lightOff();
Frame 6
function lightOff() {
this.L11.gotoAndStop(7);
this.L12.gotoAndStop(7);
this.L13.gotoAndStop(7);
this.L14.gotoAndStop(7);
this.L15.gotoAndStop(7);
this.L16.gotoAndStop(7);
this.L17.gotoAndStop(7);
this.L21.gotoAndStop(7);
this.L22.gotoAndStop(7);
this.L23.gotoAndStop(7);
this.L24.gotoAndStop(7);
this.L25.gotoAndStop(7);
this.L26.gotoAndStop(7);
this.L27.gotoAndStop(7);
this.L31.gotoAndStop(7);
this.L32.gotoAndStop(7);
this.L33.gotoAndStop(7);
this.L34.gotoAndStop(7);
this.L35.gotoAndStop(7);
this.L36.gotoAndStop(7);
this.L37.gotoAndStop(7);
this.L41.gotoAndStop(7);
this.L42.gotoAndStop(7);
this.L43.gotoAndStop(7);
this.L44.gotoAndStop(7);
this.L45.gotoAndStop(7);
this.L46.gotoAndStop(7);
this.L47.gotoAndStop(7);
}
function sampleOff() {
_Harder.stop("_Harder.mp3");
_Better.stop("_Better.mp3");
_Faster.stop("_Faster.mp3");
_Stronger.stop("_Stronger.mp3");
_WorkIt.stop("_WorkIt.mp3");
_MakeIt.stop("_MakeIt.mp3");
_DoIt.stop("_DoIt.mp3");
_MakesUs.stop("_MakesUs.mp3");
_MoreThan.stop("_MoreThan.mp3");
_Hour1.stop("_Hour1.mp3");
_Hour2.stop("_Hour2.mp3");
_Never.stop("_Never.mp3");
_Ever.stop("_Ever.mp3");
_After.stop("_After.mp3");
_WorkIs.stop("_WorkIs.mp3");
_Over.stop("_Over.mp3");
_S1.stop("_S1.mp3");
_S2.stop("_S2.mp3");
_S3.stop("_S3.mp3");
_S4.stop("_S4.mp3");
_S5.stop("_S5.mp3");
_S6.stop("_S6.mp3");
_S7.stop("_S7.mp3");
_S8.stop("_S8.mp3");
_S9.stop("_S9.mp3");
_S10.stop("_S10.mp3");
_S11.stop("_S11.mp3");
_S12.stop("_S12.mp3");
}
stop();
controlPlay = 2;
controlHelp = 1;
fullScreen = 2;
this.LFullScreen.gotoAndStop(2);
this.LControlPlay.gotoAndStop(2);
boucle18 = 1;
boucle28 = 1;
boucle38 = 1;
boucle48 = 1;
BMain = new Sound();
BMain.attachSound("BMain.mp3");
BPumPam = new Sound();
BPumPam.attachSound("BPumPam.wav");
BToungTamTam = new Sound();
BToungTamTam.attachSound("BToungTamTam.mp3");
BWahWah = new Sound();
BWahWah.attachSound("BWahWah.mp3");
_Harder = new Sound();
_Harder.attachSound("_Harder.mp3");
_Better = new Sound();
_Better.attachSound("_Better.mp3");
_Faster = new Sound();
_Faster.attachSound("_Faster.mp3");
_Stronger = new Sound();
_Stronger.attachSound("_Stronger.mp3");
_WorkIt = new Sound();
_WorkIt.attachSound("_WorkIt.mp3");
_MakeIt = new Sound();
_MakeIt.attachSound("_MakeIt.mp3");
_DoIt = new Sound();
_DoIt.attachSound("_DoIt.mp3");
_MakesUs = new Sound();
_MakesUs.attachSound("_MakesUs.mp3");
_MoreThan = new Sound();
_MoreThan.attachSound("_MoreThan.mp3");
_Hour1 = new Sound();
_Hour1.attachSound("_Hour1.mp3");
_Hour2 = new Sound();
_Hour2.attachSound("_Hour2.mp3");
_Never = new Sound();
_Never.attachSound("_Never.mp3");
_Ever = new Sound();
_Ever.attachSound("_Ever.mp3");
_After = new Sound();
_After.attachSound("_After.mp3");
_WorkIs = new Sound();
_WorkIs.attachSound("_WorkIs.mp3");
_Over = new Sound();
_Over.attachSound("_Over.mp3");
_S1 = new Sound();
_S1.attachSound("_S1.mp3");
_S2 = new Sound();
_S2.attachSound("_S2.mp3");
_S3 = new Sound();
_S3.attachSound("_S3.mp3");
_S4 = new Sound();
_S4.attachSound("_S4.mp3");
_S5 = new Sound();
_S5.attachSound("_S5.mp3");
_S6 = new Sound();
_S6.attachSound("_S6.mp3");
_S7 = new Sound();
_S7.attachSound("_S7.mp3");
_S8 = new Sound();
_S8.attachSound("_S8.mp3");
_S9 = new Sound();
_S9.attachSound("_S9.mp3");
_S10 = new Sound();
_S10.attachSound("_S10.mp3");
_S11 = new Sound();
_S11.attachSound("_S11.mp3");
_S12 = new Sound();
_S12.attachSound("_S12.mp3");
lightOff();
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 10
stop();
Symbol 36 MovieClip Frame 249
gotoAndPlay (1);
Symbol 36 MovieClip Frame 257
_root.gotoAndStop(3);
Symbol 37 Button
on (rollOver) {
this.DaftPunkLogoFlash.gotoAndPlay(2);
this.DaftPunkLogoIntro.gotoAndPlay(1);
}
on (release) {
this.DaftPunkLogoIntro.gotoAndPlay(250);
}
Symbol 48 Button
on (release) {
nextFrame();
}
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 2
stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
stop();
Symbol 70 Button
on (release) {
prevFrame();
}
Symbol 76 Button
on (release) {
_global.kBoard = 1;
gotoAndPlay (18);
}
Symbol 77 Button
on (release) {
_global.kBoard = 2;
gotoAndPlay (18);
}
Symbol 80 MovieClip Frame 15
stop();
Symbol 80 MovieClip Frame 16
stop();
Symbol 80 MovieClip Frame 17
stop();
Symbol 80 MovieClip Frame 31
_root.gotoAndStop(4);
Symbol 91 MovieClip Frame 47
if (kBoard == 1) {
_root.gotoAndStop(5);
}
if (kBoard == 2) {
_root.gotoAndStop(6);
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 7
stop();
Symbol 97 Button
on (keyPress "2") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L11.gotoAndPlay(1);
} else {
this.L11.gotoAndPlay(2);
}
_Harder.start(0, 1);
}
Symbol 98 Button
on (keyPress "Z") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L21.gotoAndPlay(1);
} else {
this.L21.gotoAndPlay(2);
}
_WorkIt.start(0, 1);
}
Symbol 99 Button
on (keyPress "S") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L31.gotoAndPlay(1);
} else {
this.L31.gotoAndPlay(2);
}
_MoreThan.start(0, 1);
}
Symbol 100 Button
on (keyPress "3") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L12.gotoAndPlay(1);
} else {
this.L12.gotoAndPlay(2);
}
_Better.start(0, 1);
}
Symbol 101 Button
on (keyPress "E") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L22.gotoAndPlay(1);
} else {
this.L22.gotoAndPlay(2);
}
_MakeIt.start(0, 1);
}
Symbol 102 Button
on (keyPress "D") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L32.gotoAndPlay(1);
} else {
this.L32.gotoAndPlay(2);
}
_Hour1.start(0, 1);
}
Symbol 103 Button
on (keyPress "4") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L13.gotoAndPlay(1);
} else {
this.L13.gotoAndPlay(2);
}
_Faster.start(0, 1);
}
Symbol 104 Button
on (keyPress "R") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L23.gotoAndPlay(1);
} else {
this.L23.gotoAndPlay(2);
}
_DoIt.start(0, 1);
}
Symbol 105 Button
on (keyPress "F") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L33.gotoAndPlay(1);
} else {
this.L33.gotoAndPlay(2);
}
_Hour2.start(0, 1);
}
Symbol 106 Button
on (keyPress "5") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L14.gotoAndPlay(1);
} else {
this.L14.gotoAndPlay(2);
}
_Stronger.start(0, 1);
}
Symbol 107 Button
on (keyPress "T") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L24.gotoAndPlay(1);
} else {
this.L24.gotoAndPlay(2);
}
_MakesUs.start(0, 1);
}
Symbol 108 Button
on (keyPress "G") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L34.gotoAndPlay(1);
} else {
this.L34.gotoAndPlay(2);
}
_Never.start(0, 1);
}
Symbol 109 Button
on (keyPress "6") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L15.gotoAndPlay(1);
} else {
this.L15.gotoAndPlay(2);
}
_S1.start(0, 1);
}
Symbol 110 Button
on (keyPress "Y") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L25.gotoAndPlay(1);
} else {
this.L25.gotoAndPlay(2);
}
_S2.start(0, 1);
}
Symbol 111 Button
on (keyPress "H") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L35.gotoAndPlay(1);
} else {
this.L35.gotoAndPlay(2);
}
_S3.start(0, 1);
}
Symbol 112 Button
on (keyPress "7") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L16.gotoAndPlay(1);
} else {
this.L16.gotoAndPlay(2);
}
_S5.start(0, 1);
}
Symbol 113 Button
on (keyPress "U") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L26.gotoAndPlay(1);
} else {
this.L26.gotoAndPlay(2);
}
_S6.start(0, 1);
}
Symbol 114 Button
on (keyPress "J") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L36.gotoAndPlay(1);
} else {
this.L36.gotoAndPlay(2);
}
_S7.start(0, 1);
}
Symbol 115 Button
on (keyPress "8") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L17.gotoAndPlay(1);
} else {
this.L17.gotoAndPlay(2);
}
_S9.start(0, 1);
}
Symbol 116 Button
on (keyPress "I") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L27.gotoAndPlay(1);
} else {
this.L27.gotoAndPlay(2);
}
_S10.start(0, 1);
}
Symbol 117 Button
on (keyPress "K") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L37.gotoAndPlay(1);
} else {
this.L37.gotoAndPlay(2);
}
_S11.start(0, 1);
}
Symbol 118 Button
on (keyPress "9") {
if (boucle18 == 1) {
boucle18 = 2;
BMain.start(0, 10000);
this.L18.gotoAndPlay(2);
} else {
boucle18 = 1;
BMain.stop("BMain.mp3");
this.L18.gotoAndPlay(1);
}
}
Symbol 119 Button
on (keyPress "O") {
if (boucle28 == 1) {
boucle28 = 2;
BPumPam.start(0, 10000);
this.L28.gotoAndPlay(2);
} else {
boucle28 = 1;
BPumPam.stop("BPumPam.wav");
this.L28.gotoAndPlay(1);
}
}
Symbol 120 Button
on (keyPress "L") {
if (boucle38 == 1) {
boucle38 = 2;
BToungTamTam.start(0, 10000);
this.L38.gotoAndPlay(2);
} else {
boucle38 = 1;
BToungTamTam.stop("BToungTamTam.mp3");
this.L38.gotoAndPlay(1);
}
}
Symbol 121 Button
on (keyPress "W") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L41.gotoAndPlay(1);
} else {
this.L41.gotoAndPlay(2);
}
_Ever.start(0, 1);
}
Symbol 122 Button
on (keyPress "X") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L42.gotoAndPlay(1);
} else {
this.L42.gotoAndPlay(2);
}
_After.start(0, 1);
}
Symbol 123 Button
on (keyPress "C") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L43.gotoAndPlay(1);
} else {
this.L43.gotoAndPlay(2);
}
_WorkIs.start(0, 1);
}
Symbol 124 Button
on (keyPress "V") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L44.gotoAndPlay(1);
} else {
this.L44.gotoAndPlay(2);
}
_Over.start(0, 1);
}
Symbol 125 Button
on (keyPress "B") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L45.gotoAndPlay(1);
} else {
this.L45.gotoAndPlay(2);
}
_S4.start(0, 1);
}
Symbol 126 Button
on (keyPress "N") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L46.gotoAndPlay(1);
} else {
this.L46.gotoAndPlay(2);
}
_S8.start(0, 1);
}
Symbol 127 Button
on (keyPress "?") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L47.gotoAndPlay(1);
} else {
this.L47.gotoAndPlay(2);
}
_S12.start(0, 1);
}
on (keyPress ",") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L47.gotoAndPlay(1);
} else {
this.L47.gotoAndPlay(2);
}
_S12.start(0, 1);
}
Symbol 128 Button
on (keyPress ".") {
if (boucle48 == 1) {
boucle48 = 2;
BWahWah.start(0, 10000);
this.L48.gotoAndPlay(2);
} else {
boucle48 = 1;
BWahWah.stop("BWahWah.mp3");
this.L48.gotoAndPlay(1);
}
}
Symbol 129 Button
on (keyPress "<Space>") {
if (controlPlay == 2) {
controlPlay = 1;
this.LControlPlay.gotoAndPlay(1);
} else {
lightOff();
controlPlay = 2;
this.LControlPlay.gotoAndPlay(2);
}
}
Symbol 130 Button
on (release) {
if (controlHelp == 2) {
controlHelp = 1;
this.LHelp.gotoAndPlay(1);
this.helpTouch.gotoAndPlay(1);
} else {
controlHelp = 2;
this.LHelp.gotoAndPlay(2);
this.helpTouch.gotoAndPlay(2);
}
}
Symbol 131 Button
on (release) {
if (fullScreen == 2) {
fullScreen = 1;
this.LFullScreen.gotoAndStop(1);
fscommand ("fullscreen", "false");
} else {
fullScreen = 2;
this.LFullScreen.gotoAndStop(2);
fscommand ("fullscreen", "true");
}
}
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
stop();
Symbol 166 MovieClip Frame 3
stop();
Symbol 167 Button
on (keyPress "W") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L21.gotoAndPlay(1);
} else {
this.L21.gotoAndPlay(2);
}
_WorkIt.start(0, 1);
}
Symbol 168 Button
on (keyPress "Z") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L41.gotoAndPlay(1);
} else {
this.L41.gotoAndPlay(2);
}
_Ever.start(0, 1);
}
Symbol 169 Button
on (keyPress "M") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L47.gotoAndPlay(1);
} else {
this.L47.gotoAndPlay(2);
}
_S12.start(0, 1);
}
on (keyPress ",") {
if (controlPlay == 1) {
lightOff();
sampleOff();
this.L47.gotoAndPlay(1);
} else {
this.L47.gotoAndPlay(2);
}
_S12.start(0, 1);
}
Symbol 170 Button
on (keyPress "<") {
if (boucle48 == 1) {
boucle48 = 2;
BWahWah.start(0, 10000);
this.L48.gotoAndPlay(2);
} else {
boucle48 = 1;
BWahWah.stop("BWahWah.mp3");
this.L48.gotoAndPlay(1);
}
}
on (keyPress ".") {
if (boucle48 == 1) {
boucle48 = 2;
BWahWah.start(0, 10000);
this.L48.gotoAndPlay(2);
} else {
boucle48 = 1;
BWahWah.stop("BWahWah.mp3");
this.L48.gotoAndPlay(1);
}
}
Symbol 171 Button
on (release) {
if (controlHelp == 3) {
controlHelp = 1;
this.LHelp.gotoAndPlay(1);
this.helpTouch.gotoAndPlay(1);
} else {
controlHelp = 3;
this.LHelp.gotoAndPlay(2);
this.helpTouch.gotoAndPlay(3);
}
}