bonjour,
c'est pas clair ce que tu raconte mais pour choisir aléatoirement un clip je ferais :
tableauclip = new Array("1","2","3","4","5");
while(tableauclip.length!=0){
rand= Math.floor((Math.random()*(tableauclip.length)));
clipChoisi=tableauclip[rand];
trace(clipChoisi);
tableauclip[rand]=tableauclip[tableauclip.length-1]
tableauclip.pop();
}
La boucle while est surement pas adapté pour ce que tu veux faire mais bon tu a le gros qui est fait.
__undefine__