#A002-Mixer console prototype.as

co = new Object();
maco1 = new Color("_parent.carre");
maco2 = new Color("_parent.fondcarre");
_parent.gotoAndStop(18);

on (press) {
co.ra = 50;
co.rb = 0;
co.ga = 10;
co.gb = 0;
co.ba = 10;
co.bb = 0;
maco1.setTransform(co);
maco2.setTransform(co);
}
on (press) {
co.ra = 60;
co.rb = 0;
co.ga = 38;

co.gb = 0;
co.ba = 0;
co.bb = 0;

maco1.setTransform(co);
maco2.setTransform(co);
}


on (press) {
co.ra = 100;
co.rb = 0;
co.ga = 100;
co.gb = 0;
co.ba = 65;
co.bb = 0;
maco1.setTransform(co);
maco2.setTransform(co);
}
on (press) {
co.ra = 65;
co.rb = 0;
co.ga = 38;
co.gb = 0;
co.ba = 35;
co.bb = 0;
maco1.setTransform(co);
maco2.setTransform(co);
}
on (press) {
co.ra = 60;
co.rb = 0;
co.ga = 40;
co.gb = 0;
co.ba = 85;
co.bb = 0;
maco1.setTransform(co);
maco2.setTransform(co);
}
on (press) {
co.ra = 0;
co.rb = 0;
co.ga = 50;
co.gb = 0;
co.ba = 50;
co.bb = 0;
maco1.setTransform(co);
maco2.setTransform(co);
}
on (press) {
co.ra = 30;
co.rb = 190;
co.ga = 60;
co.gb = 50;
co.ba = 30;
co.bb = -250;
maco1.setTransform(co);
maco2.setTransform(co);
}
on (press) {
co.ra = 100;
co.ga = 0;
co.ba = 0;
co.rb = 0;
co.gb = 0;
co.bb = 0;
maco1.setTransform(co);
}
on (press) {
co.ra = 30;
co.ga = 60;
co.ba = 30;
co.rb = 0;
co.gb = 0;
co.bb = 0;
maco1.setTransform(co);
}
n (press) {
co.ra = 60;
co.rb = 0;
co.ga = 40;
co.gb = 0;
co.ba = 85;
co.bb = 0;
maco1.setTransform(co);
maco2.setTransform(co);
}
on (press) {
co.ra = 0;
co.rb = 0;
co.ga = 50;
co.gb = 0;
co.ba = 50;
co.bb = 0;
maco1.setTransform(co);
maco2.setTransform(co);
}
on (press) {
co.ra = 30;
co.rb = 190;
co.ga = 60;
co.gb = 50;
co.ba = 30;
co.bb = -250;
maco1.setTransform(co);
maco2.setTransform(co);
}
on (press) {
co.ra = 100;
co.ga = 0;
co.ba = 0;
co.rb = 0;
co.gb = 0;
co.bb = 0;
maco1.setTransform(co);
}
on (press) {
co.ra = 30;
co.ga = 60;
co.ba = 30;
co.rb = 0;
co.gb = 0;
co.bb = 0;
maco1.setTransform(co);
}
boucle =100;
trans = new Object();
couleur=new Color(main);


stop ();
boucle=boucle-3;
trans.ra = boucle;
trans.rb = 0;
trans.ga = 100

trans.gb = 0;
trans.ba = 100;
trans.bb = 0;
trans.aa = 100;
trans.ab = 0;
couleur.setTransform(trans);
if (boucle>0) {
gotoAndPlay (2);
} else {
stop ();
}

boucle =100;
trans = new Object();
couleur=new Color(main);


stop ();
boucle=boucle-3;
trans.ra = 100;
trans.rb = 0;
trans.ga = boucle;
trans.gb = 0;
trans.ba = 100;
trans.bb = 0;
trans.aa = 100;
trans.ab = 0;

couleur.setTransform(trans);
if (boucle>0) {
gotoAndPlay (5);
} else {
stop ();
}
trans.ra = 100;
trans.rb = 0;
trans.ga = 100;
trans.gb = 0;
trans.ba = boucle;
trans.bb = 0;
trans.aa = 100;
trans.ab = 0;

couleur.setTransform(trans);
if (boucle>0) {
gotoAndPlay (8);
} else {
stop ();
}
boucle =100;
trans = new Object();
couleur=new Color(main);


stop ();
boucle=boucle-3;

trans.ra = boucle;
trans.rb = 0;
trans.ga = boucle;
trans.gb = 0;
trans.ba =100;
trans.bb = 0;
trans.aa = 100;
trans.ab = 0;

couleur.setTransform(trans);
if (boucle>0) {
gotoAndPlay (10);
} else {
stop ();
}
trans.ra = boucle;
trans.rb = 0;
trans.ga = 100;
trans.gb = 0;
trans.ba = boucle;
trans.bb = 0;
trans.aa = 100;
trans.ab = 0;

couleur.setTransform(trans);
if (boucle>0) {
gotoAndPlay (12);
} else {
stop ();
}


"RESET"
on (rollOver) {
trans.ra = 100;
trans.rb = 0;

trans.ga = 100;
trans.gb = 0;
trans.ba = 100;

trans.bb = 0;
trans.aa = 100;
trans.ab = 0;

couleur = new Color(main);
couleur.setTransform(trans);

gotoAndPlay (1);
}
on (press) {
main.gotoAndPlay(51);
}


"main"
on (press, rollOver) {
main.gotoAndPlay(51);
}
on (rollOut) {
main.gotoAndPlay (20);
}

"hand2"
on (rollOver) {
carre.carre1.stop();
carre.carre2.stop();
}
on (rollOut) {
carre.carre1.gotoAndPlay(carre.carre1._currentframe);
carre.carre2.gotoAndPlay(carre.carre2._currentframe);
}
co = new Object();
maco1 = new Color("_parent.carre");
maco2 = new Color("_parent.fondcarre");
_parent.gotoAndStop(18);