QUOTE(tzer @ 12 Aug, 2008 - 07:10 PM)

CODE
onClipEvent (load)
{
total = _parent.getBytesTotal();
firstframebytes = 36890; //bytes amount at first frame, get this value at bandwidth profiler while test movie
}
onClipEvent (enterFrame)
{
loaded = _parent.getBytesLoaded();
percent = int((loaded - firstframebytes) / (total - firstframebytes) * 100);
_root.loade.P = percent + "%";
gotoAndStop(percent);
if (loaded == total)
{
_parent.gotoAndPlay(2);
} // end if
}
please noted that you have to update the value of "firstframebytes" if the bytes amount at 1st frame is changed when you modified the movie. Please let me if this work.
Thanks Man,
Just one thing I don't understand?
It's the line - gotoAndStop(percent);
Does it just make mthe preloader start or ...?
Thanks again