ponendo come file esterno "mioMP3.txt" che deve essere compilato così
l'AS da utilizzare ècodice:&musica=percorso/nomefile.mp3&
codice:myVars = new LoadVars(); myVars.onLoad = function(success){ if(success){ mySound = new Sound(); mySound.loadSound(myVars.musica, true); mySound.onSoundComplete = function(){ this.start(); } } else { trace ("errore"); } } myVars.load("mioMP3.txt");