All pastes #994252 Raw Edit

Anonymous

public text v1 · immutable
#994252 ·published 2008-04-23 07:41 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);
} */

function onLoadProgress(mc,percentValue)
{

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
percentValue = Math.round(getPercent*100)+"%";
	this.tf_preloadtext.text = ("Bezig met ladennn: " + percentValue);
}