PDA

View Full Version : preloading multiple external movies


rico-magico
03-05-2002, 04:23 PM
Hello forum people ;)

Hoping you can help me out, as I'm a toddler when it comes to any sort of actionscripting!

I'm trying to load two external swf's into one controlling movie.
I'd want to load them into individual instances of different movie clips on the main timeline. The problem I'm having now, is that I need to preload the individual external swf's before the movie starts to play.

I tried the "Preloading Multiple Loaded Movies" tutorial but I've come to a point where I'm just not able to customise the script to work with movieclips and frame commands instead of using levels and a button to trigger the movie once loaded.

I've uploaded the files to: www.aisforapple.co.uk/preload_test.sit
or www.aisforapple.co.uk/preload_test.zip just in case anyone can help me!!

Thanks very much,
Ricky Stevens :)
ricardodelstephano@hotmail.com

Billy T
03-06-2002, 07:25 AM
you are loading your external movies into mcs that dont exist when the load movie actions takes place...

also, with your external files, I dont think you are using the if frame loaded action correctly

you should have your if frame loaded on frame 1 and on frame 2 have

gotoAndPlay(1);

so that flash continually checks to see if the loaded...

cheers

Jesse
03-06-2002, 08:07 AM
If you haven't tried these source, do so:
http://www.actionscripts.org/showMovie.php?id=355
http://www.actionscripts.org/showMovie.php?id=42

rico-magico
03-06-2002, 10:27 AM
thanx for the help- i'll take a look at the sample files and
also try and change my original files!!
back tomorrow no doubt :)

sreebar
05-14-2002, 03:02 PM
Originally posted by Jesse
If you haven't tried these source, do so:
http://www.actionscripts.org/showMovie.php?id=355
http://www.actionscripts.org/showMovie.php?id=42

Jesse,
I downloaded your "multi-preloader" from the tutorials section, and when I try to make swf's from the fla's, the following message comes up: "A script in this movie is causing Flash Player to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?" I'm using a Mac if that makes any difference. Do you know what the problem might be?

Thanks,
sreebar

Jesse
05-15-2002, 03:41 AM
The method outlined in that tutorial works with mutiple files but it means you can't run the files individually, I think I mentioned that in the tute. You must publish them using Shift F12, or wahtever the mac equivalent is (publish without viewing). I'd suggest you use my sequential preloader script instead which can be found by searching the Movies section.