\\ show/hide menu

onClipEvent (enterFrame) {
xm = _root._xmouse;
ym = _root._ymouse;
if (xm>0 && xm<200 && ym>50 && ym<600) {
_root.menuv._visible = true;
} else {
_root.menuv._visible = false;
}
}

\\negative motion color control
\\red1

on (press) {
decalagex=_x-_root._xmouse;
glissement = 1;
}
on (release, releaseOutside) {
glissement = 0;
}
onClipEvent (load) {
min = 2;
max = 93;
pourcentage = Math.abs(Math.floor((_y-min)/(max-min)*100)-100)*1.8;

}
onClipEvent (mouseMove) {
if (glissement == 1) {
_y = _root._ymouse+decalagex;
if (_y>max) {
_y = max;
}
if (_y<min) {
_y = min;
}
pourcentage = Math.abs(Math.floor((_y-min)/(max-min)*100)-100)*1.8;
macouleur = new Color("_parent._parent.neg");
co = new Object();
co.rb = pourcentage;
macouleur.setTransform(co);
updateAfterEvent();
}
}

\\red2

on (press) {
decalagex=_x-_root._xmouse;
glissement = 1;
}
on (release, releaseOutside) {
glissement = 0;
}
onClipEvent (load) {
min = 2;
max = 93;
pourcentage = Math.floor((_x-min)/(max-min)*100);
}
onClipEvent (mouseMove) {
if (glissement == 1) {
_x = _root._xmouse+decalagex;
if (_x>max) {
_x = max;
}
if (_x<min) {
_x = min;
}
pourcentage = Math.floor((_x-min)/(max-min)*100)*1.5;
macouleur = new Color("_parent._parent.fond");
co = new Object();
co.rb = pourcentage;
macouleur.setTransform(co);
updateAfterEvent();
}
}


\\green1

on (press) {
decalagex=_x-_root._xmouse;
glissement = 1;
}
on (release, releaseOutside) {
glissement = 0;
}
onClipEvent (load) {
min = 2;
max = 93;
pourcentage = Math.abs(Math.floor((_y-min)/(max-min)*100)-100)*1.8;

}
onClipEvent (mouseMove) {
if (glissement == 1) {
_y = _root._ymouse+decalagex;
if (_y>max) {
_y = max;
}
if (_y<min) {
_y = min;
}
pourcentage = Math.abs(Math.floor((_y-min)/(max-min)*100)-100)*1.8;
macouleur = new Color("_parent._parent.neg");
co = new Object();
co.gb = pourcentage;
macouleur.setTransform(co);
updateAfterEvent();
}
}

\\green2

on (press) {
decalagex=_x-_root._xmouse;
glissement = 1;
}
on (release, releaseOutside) {
glissement = 0;
}
onClipEvent (load) {
min = 2;
max = 93;
pourcentage = Math.floor((_x-min)/(max-min)*100);
}
onClipEvent (mouseMove) {
if (glissement == 1) {
_x = _root._xmouse+decalagex;
if (_x>max) {
_x = max;
}
if (_x<min) {
_x = min;
}
pourcentage = Math.floor((_x-min)/(max-min)*100)*1.5;
macouleur = new Color("_parent._parent.fond");
co = new Object();
co.gb = pourcentage;
macouleur.setTransform(co);
updateAfterEvent();
}
}

\\blue1

on (press) {
decalagex=_x-_root._xmouse;
glissement = 1;
}
on (release, releaseOutside) {
glissement = 0;
}
onClipEvent (load) {
min = 2;
max = 93;
pourcentage = Math.abs(Math.floor((_y-min)/(max-min)*100)-100)*1.8;

}
onClipEvent (mouseMove) {
if (glissement == 1) {
_y = _root._ymouse+decalagex;
if (_y>max) {
_y = max;
}
if (_y<min) {
_y = min;
}
pourcentage = Math.abs(Math.floor((_y-min)/(max-min)*100)-100)*1.8;
macouleur = new Color("_parent._parent.neg");
co = new Object();
co.bb = pourcentage;
macouleur.setTransform(co);
updateAfterEvent();
}
}

\\blue2

on (press) {
decalagex=_x-_root._xmouse;
glissement = 1;
}
on (release, releaseOutside) {
glissement = 0;
}
onClipEvent (load) {
min = 2;
max = 93;
pourcentage = Math.floor((_x-min)/(max-min)*100);
}
onClipEvent (mouseMove) {
if (glissement == 1) {
_x = _root._xmouse+decalagex;
if (_x>max) {
_x = max;
}
if (_x<min) {
_x = min;
}
pourcentage = Math.floor((_x-min)/(max-min)*100)*1.5;
macouleur = new Color("_parent._parent.fond");
co = new Object();
co.bb = pourcentage;
macouleur.setTransform(co);
updateAfterEvent();
}
}

\\didactic-menu prototype

on (rollOver) {
ic1._alpha = 70;
}
on (rollOut) {
ic1._alpha = 100;
}
on (press) {
ic1._visible = false;
ic2._visible = true;
ic3._visible = true;
ic4._visible = true;
cible.attachMovie("c1", "nc1", n++);
cible.attachMovie("vidage", "nnvidage", n-3);
}on (rollOver) {
ic2._alpha = 70;
}
on (rollOut) {
ic2._alpha = 100;
}
on (press) {
ic2._visible = false;
ic1._visible = true;
ic3._visible = true;
ic4._visible = true;
cible.attachMovie("c2", "nc2", n++);
cible.attachMovie("vidage", "nnvidage", n-3);
}on (rollOver) {
ic3._alpha = 70;
}
on (rollOut) {
ic3._alpha = 100;
}
on (press) {
ic3._visible = false;
ic2._visible = true;
ic1._visible = true;
ic4._visible = true;
cible.attachMovie("c3", "nc3", n++);
cible.attachMovie("vidage", "nnvidage", n-3);
}
on (rollOver) {
ic4._alpha = 70;
}
on (rollOut) {
ic4._alpha = 100;
}
on (press) {
ic4._visible = false;
ic2._visible = true;
ic3._visible = true;
ic1._visible = true;
cible.attachMovie("c4", "nc4", n++);
cible.attachMovie("vidage", "nnvidage", n-3);
}


\\positiv motion frezze-prototype

on (rollOver) {
m.m1.m2.gotoAndStop(m.m1.m2._currentframe);
m.m1.gotoAndStop(m.m1._currentframe);
m.gotoAndStop(m._currentframe);
decompte.gotoAndStop(decompte._currentframe);
freeze.gotoAndStop(freeze._currentframe);
}
on (rollOut) {
m.m1.m2.gotoAndPlay(m.m1.m2._currentframe+1);
m.m1.gotoAndPlay(m.m1._currentframe+1);
m.gotoAndPlay(m._currentframe+1);
decompte.gotoAndPlay(decompte._currentframe+1);
freeze.gotoAndPlay(freeze._currentframe+1);
}