codice:
MovieClip.prototype.loadMP3 = function(file) {
	var mySound = new Sound(this);
	mySound.loadSound(file, false);
	_root.createClassObject(mx.controls.ProgressBar, "pBar", 1);
	pBar._width = 150.0;
	pBar._x = 200;
	pBar._y = 20;
	pBar._visible = true
	this.onEnterFrame = function(){
		mySound.stop();
		var car = mySound.getBytesLoaded();
		var tot = mySound.getBytesTotal();
		var perc = Math.floor((car/tot)*100);
		trace (mySound)
		if(!isNaN(perc)){
			pBar.setProgress(car, tot);
			pBar.label = "LOAD "+perc+"%";
			pBar.indeterminate = true;
		}
		if(car >= tot && tot > perc && perc == 100){
			mySound.start(0, 1);
			pBar._visible = false;
		        delete this.onEnterFrame;
			_root.gotoAndPlay(2);
		}
	}
}
_root.loadMP3("loop_01.mp3");
stop();

se lo metto qui mi dà
codice:
[object Object]
mentre se lo metto al tasto
codice:
on(release){
_root.mySound.start();
trace(mySound)
}
mi dà
codice:
undefined
:master: