PDA

View Full Version : Load .swf's behind the scenes


Trebor
10-08-2002, 08:17 PM
Hi.

I'm designing a website that has several 200kb+ .swf's on separate .html pages. I was wondering if there is a way to have those large .swf's load into the web browser's memory cache while viewers are peruseing the site's other pages. Ideally, they would be loading while users are sitting on the home page, so when they go to the pages with said .swf's they will have already been loaded and will show up instantly. I'm not sure if the loadMovie script is what I should be using to achieve that.

Billy T
10-08-2002, 11:23 PM
sure use loadMovieNum

on the first frame of your homepage (after the homepage preloader) put

loadMovieNum("nextPage.swf",1);
_level1._visible=false;
loadMovieNum("nextPage2.swf",2);
_level2._visible=false;

this will load them all at once though...

cheers