Load mp3 from external xml file and make to load random

Hi,

How I can make this script lo load mp3 files via an external xml file like music.xml and if is possible to load random.

Thank you!


  music = new Sound();
    music.onSoundComplete = function() {
        this.start();
    };
    music_Load = function (_arg2) { music.loadSound(_arg2,false);this.createEmptyMovieClip("load_mc",this);load_mc.onEnterFrame = function() {loadingSound = suono.getBytesLoaded();total = music.getBytesTotal();percentuale = int((loadingSound/total)*100);console.textSound.textSound.text = percentuale+"%";if (music.getBytesLoaded() == music.getBytesTotal()) {sound = true;console.btn_sound.gotoAndPlay("open");console.btn_sound.enabled = true;console.textSound._visible = false;music.start();this.onEnterFrame = "";}};
};;
  music_Load("data/sounds/23.mp3"););
    console.btn_sound.onRelease = function () {
        if (sound) {
            music.stop();
            this.gotoAndPlay("close");
            sound = false;
        } else {
            smusic.start();
            this.gotoAndPlay("open");
            sound = true;
        }
    };