voila j'ai probleme au niveau du startdrag
le prob c'est que parfois l'etikette reste collé à la souris alors kel devrait bien se placer , mais ca le fait pas toujours voila le code
this.onEnterFrame=function()
{
for(i=0; i<=6; i++){
// prendre clip 1 par 1
this['rep'+i].onPress=function(){
this.startDrag(); }
}
et apres pour chak bouton sa position
rep1.onRelease=function()
{ stopDrag();
if((rep1.hitTest(test)))
{ this._x=315;
this._y=85;
var my_color:Color = new Color(this.fond);
my_color.setRGB(0x33CC00,100); // changement de couleur du clip
this.enabled = false;
tiret1._visible=false;
this.fond._xscale=this.fond._xscale-17;
this.fond._x=this.fond._x-14;
}
else
{
this._x=repX;
this._y=repY;}
}
tous cela dans le onEnterFrame
Voila merci beaucoup