This is really doing my nut, i’m preloading an external jpg into a movie on my stage, with a preloader on the main stage rather than the loaded movie, but it always return 0 to getBytesTotal(). Here’s the code:
_root.createEmptyMovieClip('holder', 2);
holder.loadMovie("img1.jpg");
holder._x = 50;
holder._y = 50;
var l = holder.getBytesLoaded();
var t = holder.getBytesTotal();
if (l<t) {
this.texttotal.text = Math.round(t/1000)+'kb total';
gotoAndPlay (1);
} else {
// fully loaded
this.texttotal.text = "loaded";
//this._visible = false;
}