View Full Version : streaming
jay cee
08-31-2002, 06:08 PM
I just read the tutorial about how it is better to stream my site rather than have the whole thing load up at the beginning. Can anybody point me in the right direction as to how i might go about this. I've made a site in flash but the bandwidth profiler shows the whole thing loading up right at the start. I'm probably missing something really obvious but hey i'm new.
Cheers
snapple
09-01-2002, 01:01 AM
jay cee,
I am not sure whether you actually want to use independent swf's or stagger the main timeline, but am just asuming that it would work fine if you wacked some pre-loaders on each scene/every (e.g.) 20 frames or something.
All you would have to do is make a pre-loader, the idea being that the MC plays until enough downloaded frames are available, then the _root timeline starts to play, if you apply that principle to each new section - should be fine.
You could communicate with external flash movies and combine them with the original flash movie by using the loadMovieNum, this allows you to bring in another swf - the orginal flash movie establishes the fps, bg color etc - be aware that when you load different swf's, you need to keep track of levels (higher number = movie will overlap lower number)
There are many good tut's here regarding pre-loaders and loading movies, that all help 'stagger' the dowload time of you site.
Hope this helped, i know that i have not given any code, but this site really is good for those kinda tut's.
http://www.actionscripts.org/tutorials/intermediate/multi_preloader/index.shtml
Regards, Snapple :)
jay cee
09-01-2002, 03:44 PM
ok thats loads to go, i'll gove it try. Thanks a lot
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.