Non-Standard Preloader Issues

Ok so I’m making a preloader for my main site swf and instead of having a boring loading bar I wanted it to play the animation of a certain MC as it loaded…I’ve looked at the tutorial on here but it was rather confusing and I could not get it to work…here’s the code I’m using now which is just clipped on to an mc situated in the first and only frame where all the preloader stuff is located.


onClipEvent (load) {
	bytes_loaded = Math.round(this.getBytesLoaded());
	bytes_total = Math.round(this.getBytesTotal());
	getPercent = bytes_loaded/bytes_total;
	_root.loadline.play();
	_root.loadText = Math.round(getPercent*100)+"%";
	if (bytes_loaded == bytes_total) {
		_root.enter.nextFrame();
	}
}

Ok so the only problem is basically the loadanim doesn’t play (the loadline) the loadText instantly displays 100% and the enter button appears. So the file isn’t big and I wouldn’t be suprised if it jumped to 100% that fast but I can tell it’s not working beause the loadanim isn’t playing! Any help on how to fix this would be greatly appreciated =)!

Fargate :smiley: