PDA

View Full Version : loadmovie question



fishtank
April 28th, 2003, 02:22 PM
i want to load a swf in a MC called frame and want to display the load progress of the loaded swf.

i tried sth like that:


loadMovie("test.swf",_root.frame);
so_far=_root.frame.getBytesLoaded();
total=_root.frame.getBytesTotal();


... it doesnt work.

please help me

Voetsjoeba
April 28th, 2003, 02:51 PM
Make a loadbar inside the movieclip you're loading, so that the swf you're loading loads itself instead of trying to let the main movie load it.

fishtank
April 28th, 2003, 02:56 PM
thats what doesnt work. look at this thread: http://www.kirupaforum.com/forums/showthread.php?threadid=21826&goto=newpost

i want to prevent a preloader IN the loaded MC... thats why i need this code