[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Combined Code (11.91 KiB) ● ●
frame 1 {
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadBar._width = getPercent * 100;
_root.loadText = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}
}
// unknown tag 88 length 63
frame 2 {
gotoAndPlay(1);
}
frame 3 {
gotoAndPlay(5);
var text1;
var text2;
var pourcent;
var pourcentHC1;
var pourcentHC2;
var text3;
var V1;
var V2;
var V3;
var V4;
}
frame 5 {
text1 = 'System ready';
text2 = '';
}
button 9 {
on (release, keyPress '<Space>') {
gotoAndPlay(8);
pourcent = 0;
V1 = 0;
V2 = 0;
V3 = 0;
V4 = 0;
}
}
// unknown tag 88 length 69
button 15 {
on (release) {
gotoAndPlay(3942);
}
}
button 18 {
on (release) {
getURL('http://piquette-et-co.fr/MrtweekAnim1.swf', '_blank');
}
}
frame 7 {
gotoAndPlay(5);
}
frame 8 {
text1 = 'Experiment #69 :';
text2 = '';
}
frame 37 {
text1 = 'Experiment #69 :';
text2 = 'Milo';
}
frame 67 {
text1 = 'Specie :';
text2 = '';
}
frame 97 {
text1 = 'Specie :';
text2 = 'White tiger';
}
frame 127 {
text1 = '';
text2 = '';
}
frame 128 {
pourcentHC1 = '0';
pourcentHC2 = '0';
}
button 36 {
on (release) {
gotoAndPlay(5);
}
}
frame 389 {
text1 = 'Horsecock #1';
text2 = 'initialization...';
}
frame 564 {
pourcentHC1 = '10';
}
frame 570 {
pourcentHC1 = '20';
}
frame 577 {
pourcentHC1 = '30';
}
frame 584 {
pourcentHC1 = '40';
}
frame 597 {
text1 = 'Horsecock #2';
text2 = 'initialization...';
pourcentHC1 = '50';
}
frame 702 {
text1 = 'Horsecocks';
text2 = 'initialization finished';
pourcentHC2 = '10';
}
frame 712 {
pourcentHC2 = '20';
}
frame 723 {
pourcentHC2 = '30';
}
frame 828 {
text1 = '';
text2 = '';
}
button 40 {
on (press, keyPress '<Space>') {
V1 = 1;
}
}
button 46 {
on (release, keyPress '<Left>') {
gotoAndPlay(1888);
}
}
button 49 {
on (release, keyPress '<Up>') {
gotoAndPlay(2915);
}
}
button 52 {
on (release, keyPress '<Down>') {
gotoAndPlay(3945);
}
}
frame 969 {
if (V1 != 1) {
gotoAndPlay(861);
V1 = '0';
} else {
gotoAndPlay(970);
}
}
frame 970 {
text1 = 'Milker';
text2 = 'initialization';
}
frame 1032 {
pourcentHC1 = '100';
pourcentHC2 = '100';
}
frame 1092 {
gotoAndPlay(1093);
text1 = '';
text2 = '';
}
button 75 {
on (press, keyPress '<Space>') {
V2 = 1;
}
}
button 76 {
on (release, keyPress '<Left>') {
gotoAndPlay(2120);
}
}
button 77 {
on (release, keyPress '<Up>') {
gotoAndPlay(3147);
}
}
button 78 {
on (release, keyPress '<Down>') {
gotoAndPlay(4054);
}
}
button 81 {
on (release) {
V4 = 1;
}
}
frame 1193 {
if (V2 == 1) {
gotoAndPlay(1194);
V2 = 0;
} else {
if (V4 == 1) {
gotoAndPlay(1194);
} else {
gotoAndPlay(1093);
}
}
}
frame 1194 {
text2 = 'Acquiring sample...';
if (V4 == 0) {
stopmilk._visible = false;
} else {
stopmilk._visible = true;
}
}
button 99 {
on (release) {
V4 = 0;
}
}
frame 1289 {
if (pourcent < 100) {
pourcent += 20;
}
text2 = '';
if (V4 == 1) {
gotoAndPlay(1194);
} else {
if (pourcent >= 100) {
gotoAndPlay(1290);
} else {
gotoAndPlay(1093);
}
}
}
frame 1290 {
text3 = 'WARNING!';
}
button 102 {
on (press, keyPress '<Space>') {
V3 = 1;
}
}
button 112 {
on (release, keyPress '<Left>') {
gotoAndPlay(2317);
}
}
button 113 {
on (release, keyPress '<Up>') {
gotoAndPlay(3344);
}
}
frame 1309 {
text3 = '';
}
frame 1327 {
text3 = 'WARNING!';
}
frame 1344 {
text3 = '';
}
frame 1360 {
text3 = 'WARNING!';
}
frame 1375 {
text3 = '';
}
frame 1390 {
if (V2 == 1) {
gotoAndPlay(1194);
V2 = 0;
} else {
if (V3 == 1) {
gotoAndPlay(1391);
V3 = 0;
} else {
if (pourcent >= 250) {
gotoAndPlay(1391);
V3 = 0;
} else {
gotoAndPlay(1290);
}
}
}
}
frame 1480 {
text1 = 'releasing...';
pourcentHC1 = '20';
pourcentHC2 = '20';
pourcent = '80';
}
frame 1487 {
pourcent = '70';
pourcentHC1 = '8';
pourcentHC2 = '7';
}
frame 1493 {
pourcent = '60';
}
frame 1500 {
pourcent = '50';
}
frame 1528 {
pourcentHC1 = '24';
pourcentHC2 = '35';
}
frame 1545 {
pourcent = '40';
}
frame 1552 {
pourcentHC1 = '4';
pourcentHC2 = '6';
}
frame 1559 {
pourcentHC1 = '2';
pourcentHC2 = '2';
}
frame 1566 {
pourcentHC1 = '2';
pourcentHC2 = '3';
}
frame 1586 {
pourcentHC1 = '15';
pourcentHC2 = '17';
}
frame 1606 {
pourcentHC1 = '10';
pourcentHC2 = '12';
}
frame 1610 {
pourcent = '6';
pourcentHC1 = '5';
pourcentHC2 = '4';
}
frame 1615 {
pourcent = '4';
pourcentHC1 = '0';
pourcentHC2 = '0';
}
frame 1620 {
pourcent = '2';
}
frame 1629 {
pourcent = '1';
}
frame 1648 {
pourcent = '0';
text1 = '';
}
frame 1758 {
gotoAndPlay(1759);
}
frame 1759 {
text2 = 'Experiment Finished';
}
button 132 {
on (release, keyPress '<Left>') {
gotoAndPlay(2786);
}
}
button 133 {
on (release, keyPress '<Up>') {
gotoAndPlay(3813);
}
}
frame 1887 {
gotoAndPlay(1759);
}
button 135 {
on (release, keyPress '<Right>') {
gotoAndPlay(861);
}
}
frame 1996 {
if (V1 != 1) {
gotoAndPlay(1888);
V1 = '0';
} else {
gotoAndPlay(1997);
}
}
frame 1997 {
text1 = 'Milker';
text2 = 'initialization';
}
frame 2059 {
pourcentHC1 = '100';
pourcentHC2 = '100';
}
frame 2119 {
gotoAndPlay(2120);
text1 = '';
text2 = '';
}
button 154 {
on (release, keyPress '<Right>') {
gotoAndPlay(1093);
}
}
frame 2220 {
if (V2 == 1) {
gotoAndPlay(2221);
V2 = 0;
} else {
if (V4 == 1) {
gotoAndPlay(2221);
} else {
gotoAndPlay(2120);
}
}
}
frame 2221 {
text2 = 'Acquiring sample...';
if (V4 == 0) {
stopmilk._visible = false;
} else {
stopmilk._visible = true;
}
}
button 170 {
on (keyPress '<Space>') {
gotoAndPlay(5);
}
}
frame 2316 {
if (pourcent < 100) {
pourcent += 20;
}
text2 = '';
if (V4 == 1) {
gotoAndPlay(2221);
} else {
if (pourcent >= 100) {
gotoAndPlay(2317);
} else {
gotoAndPlay(2120);
}
}
}
frame 2317 {
text3 = 'WARNING!';
}
button 180 {
on (release, keyPress '<Right>') {
gotoAndPlay(1290);
}
}
frame 2336 {
text3 = '';
}
frame 2354 {
text3 = 'WARNING!';
}
frame 2371 {
text3 = '';
}
frame 2387 {
text3 = 'WARNING!';
}
frame 2402 {
text3 = '';
}
frame 2417 {
if (V2 == 1) {
gotoAndPlay(2221);
V2 = 0;
} else {
if (V3 == 1) {
gotoAndPlay(2418);
V3 = 0;
} else {
gotoAndPlay(2317);
}
}
}
frame 2507 {
text1 = 'releasing...';
pourcentHC1 = '20';
pourcentHC2 = '20';
pourcent = '80';
}
frame 2514 {
pourcent = '70';
pourcentHC1 = '8';
pourcentHC2 = '7';
}
frame 2520 {
pourcent = '60';
}
frame 2527 {
pourcent = '50';
}
frame 2555 {
pourcentHC1 = '24';
pourcentHC2 = '35';
}
frame 2572 {
pourcent = '40';
}
frame 2579 {
pourcentHC1 = '4';
pourcentHC2 = '6';
}
frame 2586 {
pourcentHC1 = '2';
pourcentHC2 = '2';
}
frame 2593 {
pourcentHC1 = '2';
pourcentHC2 = '3';
}
frame 2613 {
pourcentHC1 = '15';
pourcentHC2 = '17';
}
frame 2633 {
pourcentHC1 = '10';
pourcentHC2 = '12';
}
frame 2637 {
pourcent = '6';
pourcentHC1 = '5';
pourcentHC2 = '4';
}
frame 2642 {
pourcent = '4';
pourcentHC1 = '0';
pourcentHC2 = '0';
}
frame 2647 {
pourcent = '2';
}
frame 2656 {
pourcent = '1';
}
frame 2675 {
pourcent = '0';
text1 = '';
}
frame 2785 {
gotoAndPlay(2786);
}
frame 2786 {
text2 = 'Experiment Finished';
}
button 199 {
on (release, keyPress '<Right>') {
gotoAndPlay(1759);
}
}
frame 2914 {
gotoAndPlay(2786);
}
button 201 {
on (release, keyPress '<Down>') {
gotoAndPlay(861);
}
}
button 202 {
on (release) {
gotoAndPlay(3945);
}
}
frame 3023 {
if (V1 != 1) {
gotoAndPlay(2915);
V1 = '0';
} else {
gotoAndPlay(3024);
}
}
frame 3024 {
text1 = 'Milker';
text2 = 'initialization';
}
frame 3086 {
pourcentHC1 = '100';
pourcentHC2 = '100';
}
frame 3146 {
gotoAndPlay(3147);
text1 = '';
text2 = '';
}
button 221 {
on (release, keyPress '<Down>') {
gotoAndPlay(1093);
}
}
button 222 {
on (release) {
gotoAndPlay(4054);
}
}
frame 3247 {
if (V2 == 1) {
gotoAndPlay(3248);
V2 = 0;
} else {
if (V4 == 1) {
gotoAndPlay(3248);
} else {
gotoAndPlay(3147);
}
}
}
frame 3248 {
text2 = 'Acquiring sample...';
if (V4 == 0) {
stopmilk._visible = false;
} else {
stopmilk._visible = true;
}
}
frame 3343 {
if (pourcent < 100) {
pourcent += 20;
}
text2 = '';
if (V4 == 1) {
gotoAndPlay(3248);
} else {
if (pourcent >= 100) {
gotoAndPlay(3344);
} else {
gotoAndPlay(3147);
}
}
}
frame 3344 {
text3 = 'WARNING!';
}
button 247 {
on (release, keyPress '<Down>') {
gotoAndPlay(1290);
}
}
frame 3363 {
text3 = '';
}
frame 3381 {
text3 = 'WARNING!';
}
frame 3398 {
text3 = '';
}
frame 3414 {
text3 = 'WARNING!';
}
frame 3429 {
text3 = '';
}
frame 3444 {
if (V2 == 1) {
gotoAndPlay(3248);
V2 = 0;
} else {
if (V3 == 1) {
gotoAndPlay(3445);
V3 = 0;
} else {
gotoAndPlay(3344);
}
}
}
frame 3534 {
text1 = 'releasing...';
pourcentHC1 = '20';
pourcentHC2 = '20';
pourcent = '80';
}
frame 3541 {
pourcent = '70';
pourcentHC1 = '8';
pourcentHC2 = '7';
}
frame 3547 {
pourcent = '60';
}
frame 3554 {
pourcent = '50';
}
frame 3582 {
pourcentHC1 = '24';
pourcentHC2 = '35';
}
frame 3599 {
pourcent = '40';
}
frame 3606 {
pourcentHC1 = '4';
pourcentHC2 = '6';
}
frame 3613 {
pourcentHC1 = '2';
pourcentHC2 = '2';
}
frame 3620 {
pourcentHC1 = '2';
pourcentHC2 = '3';
}
frame 3640 {
pourcentHC1 = '15';
pourcentHC2 = '17';
}
frame 3660 {
pourcentHC1 = '10';
pourcentHC2 = '12';
}
frame 3664 {
pourcent = '6';
pourcentHC1 = '5';
pourcentHC2 = '4';
}
frame 3669 {
pourcent = '4';
pourcentHC1 = '0';
pourcentHC2 = '0';
}
frame 3674 {
pourcent = '2';
}
frame 3683 {
pourcent = '1';
}
frame 3702 {
pourcent = '0';
text1 = '';
}
frame 3812 {
gotoAndPlay(3813);
}
frame 3813 {
text2 = 'Experiment Finished';
}
button 266 {
on (release, keyPress '<Down>') {
gotoAndPlay(1759);
}
}
frame 3941 {
gotoAndPlay(3813);
}
frame 3942 {
text1 = 'System ready';
text2 = '';
}
button 267 {
on (release, keyPress '<Space>') {
gotoAndPlay(8);
pourcent = 0;
V1 = 0;
V2 = 0;
V3 = 0;
}
}
button 272 {
on (release) {
gotoAndPlay(861);
pourcent = 0;
V1 = 0;
V2 = 0;
V3 = 0;
pourcentHC1 = '50';
pourcentHC2 = '30';
text1 = '';
text2 = '';
text3 = '';
}
}
button 275 {
on (release) {
gotoAndPlay(1093);
pourcent = 0;
V1 = 0;
V2 = 0;
V3 = 0;
pourcentHC1 = '100';
pourcentHC2 = '100';
text1 = '';
text2 = '';
text3 = '';
}
}
button 278 {
on (release) {
gotoAndPlay(1290);
pourcent = 100;
V1 = 0;
V2 = 0;
V3 = 0;
pourcentHC1 = '100';
pourcentHC2 = '100';
text1 = '';
text2 = '';
text3 = '';
}
}
button 279 {
on (release) {
gotoAndPlay(5);
}
}
frame 3944 {
gotoAndPlay(3942);
}
button 281 {
on (release, keyPress '<Up>') {
gotoAndPlay(861);
}
}
button 282 {
on (release) {
gotoAndPlay(2915);
}
}
frame 4053 {
if (V1 != 1) {
gotoAndPlay(3945);
V1 = '0';
} else {
gotoAndPlay(970);
}
}
button 293 {
on (release, keyPress '<Up>') {
gotoAndPlay(1093);
}
}
button 294 {
on (release) {
gotoAndPlay(3147);
}
}
frame 4154 {
if (V2 == 1) {
gotoAndPlay(1194);
V2 = 0;
} else {
gotoAndPlay(4054);
}
}