PDA

View Full Version : Loading scenes


Corvus33
10-31-2001, 08:48 AM
Hi,
Sorry to bother again with the same problem above( see Harkole's "...Loading... Screens"), but I'm still lost. I want to preload not the entire movie but only the the first 2 scenes. So, instead of "getBytesTotal()" I need only the bytes from the first 2 scenes.
Thanx

Harkole
10-31-2001, 10:37 AM
I think everyone has legged it from this subject... :( I'm still wanting to know if you can use a pre-load screen in a

"on release" command so that I can stream the main content (small) and then pre-load all the maps with the directions on it...

if any one can help.... please?

Billy T
10-31-2001, 11:02 AM
can't you just use

ifFrameLoaded ( frame ) {
}

Harkole
10-31-2001, 11:19 AM
Corvus33 can but and it works 'cos I implemented it this morning on another project, but what I want is that the maps preloading thing occurs in the same movie as the web page is designed, so do I need to create a movie clip and do it all in that or will that just preload with the web page???? :confused:

poab
10-31-2001, 12:43 PM
Hi,

I can't find the first part of this thread, so I'm not 100% what you want.


Corvus33:

Billy T is right



Harkole:

Yes it will just load with the movie. Make two frames on your main timeline. Two layers, top one is web page, runs across both frames. Bottom one is maps, first frame blank, second frame has contents. In loading scene ask it to test for first frame of main timeline, rather than whole movie. People will enter web page and maps are still downloading. You need a new loading page:

scene1: loading web page (tests for first frame of scene3 downloaded)
scene2: loading maps (tests for entire movie downloaded)
scene3: webpage and maps (contains two frames that contain MCs that contain everything else)

When someone clicks on button to move to maps there is an if/else statement on button:

if(--"INSERT TEST FOR COMPLETE DOWNLOAD HERE"--){
on(release){
gotoAndStop(2);
}
}else
on(release){
gotoAndStop("scene2", 1);
}
}

cheers.

Harkole
10-31-2001, 12:47 PM
http://www.actionscripts.org/forums/showthread.php3?s=&threadid=6252

OK that's the first thread.... :)

And thanks Poab you is much needed brain saver!
by the way don't need to read the first thread you've answered all questions!