onClipEvent (load) { //this._highquality = 0; _root.posinitialx=_root.fiches.fiche_sarah._x _root.posinitialy=_root.fiches.fiche_sarah._y _root.posinitialrot=_root.fiches.fiche_sarah._rotation _root.posinitialy=_root.fiches.fiche_sarah._y _root.posinitialx2=_root.fiches.fiche2move._x _root.posinitialy2=_root.fiches.fiche2move._y _root.pooosx=_root.fiches.fiche_sarah.txt_sarah._x _root.pooosy=_root.fiches.fiche_sarah.txt_sarah._y } onClipEvent (enterFrame) { if (_root.btnfocus0 == "btnover") { _root.fiches.fiche_sarah._y = _root.fiches.fiche_sarah._y-(-10+_root.fiches.fiche_sarah._y)/1.25; _root.fiches.fiche_sarah._y=10 } else if (_root.btnfocus0 == "btnout") { _root.fiches.fiche_sarah._x = _root.fiches.fiche_sarah._x-(-_root.posinitialx+_root.fiches.fiche_sarah._x)/2; _root.fiches.fiche_sarah._y = _root.fiches.fiche_sarah._y-(-_root.posinitialy+_root.fiches.fiche_sarah._y)/2; _root.fiches.fiche_sarah._rotation = _root.fiches.fiche_sarah._rotation-(0+_root.fiches.fiche_sarah._rotation)/1.25; _root.fiches.fiche_sarah._xscale = _root.fiches.fiche_sarah._xscale-(-100+_root.fiches.fiche_sarah._xscale)/1.25; _root.fiches.fiche_sarah._yscale = _root.fiches.fiche_sarah._yscale-(-100+_root.fiches.fiche_sarah._yscale)/1.25; } else if (_root.btnfocus0 == "btnclick") { _root.btn_0.enabled=false; _root.btn_1.enabled=false; _root.btn_2.enabled=false; _root.btn_3.enabled=false; _root.btn_4.enabled=false; _root.btn_5.enabled=false; _root.fiches.fiche_sarah._x = _root.fiches.fiche_sarah._x-(80.1+_root.fiches.fiche_sarah._x)/2; _root.fiches.fiche_sarah._y = _root.fiches.fiche_sarah._y-(-320+_root.fiches.fiche_sarah._y)/3; _root.fiches.fiche_sarah._rotation = _root.fiches.fiche_sarah._rotation-(41.9+_root.fiches.fiche_sarah._rotation)/2.5; _root.fiches.fiche_sarah._xscale = _root.fiches.fiche_sarah._xscale-(-120+_root.fiches.fiche_sarah._xscale)/3; _root.fiches.fiche_sarah._yscale = _root.fiches.fiche_sarah._yscale-(-120+_root.fiches.fiche_sarah._yscale)/3; } if (_root.btnfocus1 == "btnover") { _root.fiches.fiche_blanche._x = _root.fiches.fiche_blanche._x-(0+_root.fiches.fiche_blanche._x)/1.25; _root.fiches.fiche_blanche._y = _root.fiches.fiche_blanche._y-(-10+_root.fiches.fiche_blanche._y)/1.25; } else if (_root.btnfocus1 == "btnout") { _root.fiches.fiche_blanche._x = _root.fiches.fiche_blanche._x-(-_root.posinitialx+_root.fiches.fiche_blanche._x)/2; _root.fiches.fiche_blanche._y = _root.fiches.fiche_blanche._y-(-_root.posinitialy+_root.fiches.fiche_blanche._y)/2; _root.fiches.fiche_blanche._rotation = _root.fiches.fiche_blanche._rotation-(0+_root.fiches.fiche_blanche._rotation)/1.25; _root.fiches.fiche_blanche._xscale = _root.fiches.fiche_blanche._xscale-(-100+_root.fiches.fiche_blanche._xscale)/1.25; _root.fiches.fiche_blanche._yscale = _root.fiches.fiche_blanche._yscale-(-100+_root.fiches.fiche_blanche._yscale)/1.25; } else if (_root.btnfocus1 == "btnclick") { _root.btn_0.enabled=false; _root.btn_1.enabled=false; _root.btn_2.enabled=false; _root.btn_3.enabled=false; _root.btn_4.enabled=false; _root.btn_5.enabled=false; _root.fiches.fiche_blanche._x = _root.fiches.fiche_blanche._x-(80.1+_root.fiches.fiche_blanche._x)/2; _root.fiches.fiche_blanche._y = _root.fiches.fiche_blanche._y-(-320+_root.fiches.fiche_blanche._y)/3; _root.fiches.fiche_blanche._rotation = _root.fiches.fiche_blanche._rotation-(41.9+_root.fiches.fiche_blanche._rotation)/2.5; _root.fiches.fiche_blanche._xscale = _root.fiches.fiche_blanche._xscale-(-120+_root.fiches.fiche_blanche._xscale)/3; _root.fiches.fiche_blanche._yscale = _root.fiches.fiche_blanche._yscale-(-120+_root.fiches.fiche_blanche._yscale)/3; } if (_root.btnfocus2 == "btnover") { _root.fiches.fiche_pierre._x = _root.fiches.fiche_pierre._x-(0+_root.fiches.fiche_pierre._x)/1.25; _root.fiches.fiche_pierre._y = _root.fiches.fiche_pierre._y-(-10+_root.fiches.fiche_pierre._y)/1.25; } else if (_root.btnfocus2 == "btnout") { _root.fiches.fiche_pierre._x = _root.fiches.fiche_pierre._x-(-_root.posinitialx+_root.fiches.fiche_pierre._x)/2; _root.fiches.fiche_pierre._y = _root.fiches.fiche_pierre._y-(-_root.posinitialy+_root.fiches.fiche_pierre._y)/2; _root.fiches.fiche_pierre._rotation = _root.fiches.fiche_pierre._rotation-(0+_root.fiches.fiche_pierre._rotation)/1.25; _root.fiches.fiche_pierre._xscale = _root.fiches.fiche_pierre._xscale-(-100+_root.fiches.fiche_pierre._xscale)/1.25; _root.fiches.fiche_pierre._yscale = _root.fiches.fiche_pierre._yscale-(-100+_root.fiches.fiche_pierre._yscale)/1.25; } else if (_root.btnfocus2 == "btnclick") { _root.btn_0.enabled=false; _root.btn_1.enabled=false; _root.btn_2.enabled=false; _root.btn_3.enabled=false; _root.btn_4.enabled=false; _root.btn_5.enabled=false; _root.fiches.fiche_pierre._x = _root.fiches.fiche_pierre._x-(80.1+_root.fiches.fiche_pierre._x)/2; _root.fiches.fiche_pierre._y = _root.fiches.fiche_pierre._y-(-320+_root.fiches.fiche_pierre._y)/3; _root.fiches.fiche_pierre._rotation = _root.fiches.fiche_pierre._rotation-(41.9+_root.fiches.fiche_pierre._rotation)/2.5; _root.fiches.fiche_pierre._xscale = _root.fiches.fiche_pierre._xscale-(-120+_root.fiches.fiche_pierre._xscale)/3; _root.fiches.fiche_pierre._yscale = _root.fiches.fiche_pierre._yscale-(-120+_root.fiches.fiche_pierre._yscale)/3; } if (_root.btnfocus3 == "btnover") { _root.fiches.fiche_thomas._x = _root.fiches.fiche_thomas._x-(0+_root.fiches.fiche_thomas._x)/1.25; _root.fiches.fiche_thomas._y = _root.fiches.fiche_thomas._y-(-10+_root.fiches.fiche_thomas._y)/1.25; } else if (_root.btnfocus3 == "btnout") { _root.fiches.fiche_thomas._x = _root.fiches.fiche_thomas._x-(-_root.posinitialx+_root.fiches.fiche_thomas._x)/2; _root.fiches.fiche_thomas._y = _root.fiches.fiche_thomas._y-(-_root.posinitialy+_root.fiches.fiche_thomas._y)/2; _root.fiches.fiche_thomas._rotation = _root.fiches.fiche_thomas._rotation-(0+_root.fiches.fiche_thomas._rotation)/1.25; _root.fiches.fiche_thomas._xscale = _root.fiches.fiche_thomas._xscale-(-100+_root.fiches.fiche_thomas._xscale)/1.25; _root.fiches.fiche_thomas._yscale = _root.fiches.fiche_thomas._yscale-(-100+_root.fiches.fiche_thomas._yscale)/1.25; } else if (_root.btnfocus3 == "btnclick") { _root.btn_0.enabled=false; _root.btn_1.enabled=false; _root.btn_2.enabled=false; _root.btn_3.enabled=false; _root.btn_4.enabled=false; _root.btn_5.enabled=false; _root.fiches.fiche_thomas._x = _root.fiches.fiche_thomas._x-(80.1+_root.fiches.fiche_thomas._x)/2; _root.fiches.fiche_thomas._y = _root.fiches.fiche_thomas._y-(-320+_root.fiches.fiche_thomas._y)/3; _root.fiches.fiche_thomas._rotation = _root.fiches.fiche_thomas._rotation-(41.9+_root.fiches.fiche_thomas._rotation)/2.5; _root.fiches.fiche_thomas._xscale = _root.fiches.fiche_thomas._xscale-(-120+_root.fiches.fiche_thomas._xscale)/3; _root.fiches.fiche_thomas._yscale = _root.fiches.fiche_thomas._yscale-(-120+_root.fiches.fiche_thomas._yscale)/3; } if (_root.btnfocus4 == "btnover") { _root.fiches.fiche_lapointe._x = _root.fiches.fiche_lapointe._x-(0+_root.fiches.fiche_lapointe._x)/1.25; _root.fiches.fiche_lapointe._y = _root.fiches.fiche_lapointe._y-(-10+_root.fiches.fiche_lapointe._y)/1.25; } else if (_root.btnfocus4 == "btnout") { _root.fiches.fiche_lapointe._x = _root.fiches.fiche_lapointe._x-(-_root.posinitialx+_root.fiches.fiche_lapointe._x)/2; _root.fiches.fiche_lapointe._y = _root.fiches.fiche_lapointe._y-(-_root.posinitialy+_root.fiches.fiche_lapointe._y)/2; _root.fiches.fiche_lapointe._rotation = _root.fiches.fiche_lapointe._rotation-(0+_root.fiches.fiche_lapointe._rotation)/1.25; _root.fiches.fiche_lapointe._xscale = _root.fiches.fiche_lapointe._xscale-(-100+_root.fiches.fiche_lapointe._xscale)/1.25; _root.fiches.fiche_lapointe._yscale = _root.fiches.fiche_lapointe._yscale-(-100+_root.fiches.fiche_lapointe._yscale)/1.25; } else if (_root.btnfocus4 == "btnclick") { _root.btn_0.enabled=false; _root.btn_1.enabled=false; _root.btn_2.enabled=false; _root.btn_3.enabled=false; _root.btn_4.enabled=false; _root.btn_5.enabled=false; _root.fiches.fiche_lapointe._x = _root.fiches.fiche_lapointe._x-(80.1+_root.fiches.fiche_lapointe._x)/2; _root.fiches.fiche_lapointe._y = _root.fiches.fiche_lapointe._y-(-320+_root.fiches.fiche_lapointe._y)/3; _root.fiches.fiche_lapointe._rotation = _root.fiches.fiche_lapointe._rotation-(41.9+_root.fiches.fiche_lapointe._rotation)/2.5; _root.fiches.fiche_lapointe._xscale = _root.fiches.fiche_lapointe._xscale-(-120+_root.fiches.fiche_lapointe._xscale)/3; _root.fiches.fiche_lapointe._yscale = _root.fiches.fiche_lapointe._yscale-(-120+_root.fiches.fiche_lapointe._yscale)/3; } }