PDA

View Full Version : new MovieClipLoader ...



flashborne
July 10th, 2004, 11:46 AM
can anybody help out with the new MovieClipLoader?

i trully don't know why it's acting up...

all i have on the stage is an empty mc called "mc" and a dynamic tf "feedback"

i want to trace the very first bytes that are loaded withing the onLoadStart callback


myMCL=new MovieClipLoader();

myMCL.onLoadStart=function(target){
_root.feedback.text+="LoadStarted ";
stats=myImage.getProgress(target);
_root.feedback.text+="Loaded"+stats.bytesLoaded+" ";
_root.feedback.text+="Total"+stats.bytesTotal+" ";

}
myMCL.onLoadComplete=function(target){
_root.feedback.text+="LoadComplete";
}
myMCL.loadClip("more.jpg", mc);


returns "LoadStarted Loaded0 Total0 LoadComplete"
why can't it trace the loaded bytes and total bytes. What can go wrong? I'm testing locally through a browser and online..
thanks for any help........