hello, I'm tryin to get this progress bar to work properly,

here's my part of my function to do everything, 'cept pBar doesn't monitor the load progress of "id" ,

does anyone know what I'm doing wrong here?


function loadMusic (id,frame,levs){

music = new Sound();
music.loadSound(id, false);

attachMovie("progressBar","pBar",4);
pBar._x = 100;pBar._y = 350;

//pBar.setLoadTarget(id);
pBar.source = music;