Need help with preloader for dynamic swf!

Hey guys,

I want to make a preloader for a dynamic swf that displays the percent of the movie loaded but I need the percentage to go up to 200 (don’t ask why, I just do!).

How would I go about doing this?

What I’ve got at the moment is a dynamic text box in frame 1 (Var name and instance name both=status) in the dynamic swf and the first frame of the movie has this code in the timeline:

this.onEnterFrame = function() {
	loaded = int(getBytesLoaded()/getBytesTotal()*200);
	status = loaded+"%";
	if (getBytesLoaded() == getBytesTotal()) {
		delete this.onEnterFrame;

It isn’t working though - does anyone know why or does anyone have another preloader that I could use please?

Thank you for any advice or help and I hope to hear from you.

All the best,