codice:var quanti = 18; for( var a = 1; a <= quanti; a++ ) { var b = String(a); _root['riproduzione'+b] = true; _root['s'+b] = new Sound(); _root['s'+b].loadSound( 'audio1/file'+b+'.mp3' ,false); _root['audio'+b].__check = b; _root['audio'+b].onRelease=function(){ if( _root['riproduzione'+this.__check] ) { for( var a = 1; a <= _root.quanti; a++ ) { var b = String( a ); if( Number( this.__check ) == a ) { _root['riproduzione'+this.__check] = false; _root['s'+this.__check].start(0,1); } else { _root['riproduzione'+this.__check] = true; _root['s'+b].stop(); } } } } }