Loader Help!

Hey,

Im trying to make a movie with a preloader that has a movie playing while the load bar is displaying the load progress. What do I need to do?

It’s very easy… Just make a loader bar and put it on the stage… For eg if you have a rectangle on the stage with a height of 10 and width of 100… Just make a mc of it and name it somethin like ‘bar’ for convenience sake… and then… In the actions of the mc… Put the following code…

onClipEvent (enterFrame) {
this._width = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if(_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.nextScene();
}
}

And as for the movie that plays while the preloader shows the progress… Just make a mc of the whole animation you wanna show… And then put that mc on the stage… Simple isn’t it?