PDA

View Full Version : a preloader question...


texbala
01-10-2003, 04:57 PM
i searched the forum before posting this... didn't find any luck...

We can see the 'Show Streaming' option in teh 'Band Width Profiler'. This is the same way how it will stream in a 56k modem, right??

CAn we see how it will stream during the loadMovie, say from a parent movie, I am loading a 300kb swf file in 'container_mc'. How can I see the 'show streaming' from the main (parent) movie when I use the loadMovie after pressing a button. When i choose the option of 'show streaming' from the main movie... it streams for the main movie... not for the loaded movie!!

I use the code for the loading swf. Pls. tell whether it is correct or not?

total_bytes = _root.container_mc.getBytesTotal();
loaded_bytes = _root.container_mc.getBytesLoaded();
remaining_bytes = total_bytes - loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
_root.container_mc.bar.gotoAndStop(percent_done);
if(loaded_bytes>=total_bytes&&loaded_bytes>0){
gotoAndPlay(5);
}

container_mc is the movie clip which loads in the _root.
bar is a mc with 100 frames long shape tween

advanced thnx!!

Mortimer Jazz
01-11-2003, 07:45 AM
I don't believe this is possible - it wasn't in Flash 5 at least and I've read nothing to the contrary for MX [If it is I'd certainly like to know].

farafiro
01-12-2003, 10:40 AM
yes, Mort is right
we can't do that

texbala
01-12-2003, 08:05 PM
k.. thanks very much for your time!!