Réponse acceptée !
Hello,
essaye cette solution :
selection=0
for (i=1;i<=7;i++){
_root.createEmptyMovieClip ("but"+i, this.getNextHighestDepth())
_root["but"+i].selectionNumber=i;
_root["but"+i].onRelease=function(){
_root.selection = this.selectionNumber;
}
}
tu peux à tout moment récupérer ta selection via _root.selection
@+
