rendered paste bodyMovieClip.prototype._LOADER = function(path, afterLoadFunction) {
this.createEmptyMovieClip("loaderContainer", 535);
this["loaderContainer"].loadMovie(path, 0);
this.onEnterFrame = function() {
this.loaderPercent = Math.round(100*this["loaderContainer"].getBytesLoaded()/this["loaderContainer"].getBytesTotal());
trace(this.loaderPercent);
if (this.loaderPercent == 100) {
delete this.onEnterFrame;
afterLoadFunction;
}
};
};
function ttest() {
trace("figgn???");
}
mc._LOADER("img.jpg", "ttest");