All pastes #994242 Raw Edit

Anonymous

public text v1 · immutable
#994242 ·published 2008-04-23 07:37 UTC
rendered paste body
var container:MovieClip = createEmptyMovieClip("container",
getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("intro_risque.swf", container);

/* function onLoadInit(mc:MovieClip) {
	trace("onLoadInit: " + mc);
} */

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
percentValue = Math.round(getPercent*100)+"%";

function onLoadProgress(mc,percentValue)
{
	this.tf_preloadtext.text = ("Bezig met ladennn: " + percentValue);
}