loadClip() listener probs

Hii guys,

Ive successfully been creating preloaders in mx using the loadMovie method with load bar, and now in mx 2004 pro im trying to do the same with the new loadClip() which is supposed to be all so fantastic with its handlers…but im just can seem to get my old preloader function to work with these new handlers and ultimately the loadCLip

Here is what I have so far…it loads but the progress bar doesnt move accordingly in the load


stop();

horz_preloader._visible = false;
var myListener = new Object();
var myMCL = new MovieClipLoader();

//Listener methods
myListener.onLoadStart = function (targetMC)
{
        horz_preloader._visible = true;
}
myMCL.onLoadProgress = function (targetMC, loadedBytes, totalBytes) {
        var percentage = Math.round((loadedBytes/totalBytes)*100);
        horz_preloader.vert_progress_bar._xscale = percentage;
        horz_preloader.statusText = percentage + "%";
        
}
myMCL.onLoadComplete = function (targetMC)
{
        horz_preloader.statusText = "load complete";
        horz_preloader._visible = true;
}
myMCL.onLoadInit = function (targetMC)
{
        mx.transitions.TransitionManager.start(targetMC, {type:mx.transitions.Photo, direction:0, duration:2, easing:mx.transitions.easing.None.easeNone, param1:empty, param2:empty});
}
myMCL.onLoadError = function (targetMC, errorCode)
{
        trace ("ERRORCODE:" + errorCode);
        horz_preloader.statusText = "load failed";
        
}
myMCL.addListener("myListener");
myMCL.loadClip("site.swf","_root.site_holder");