Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Preloading Multiple Swf Files At Once



Hi there,

Yet another preloading question; so many asked a similair question but I haven't found a usable answer yet.

I have a X amount of extern swf files I want to preload. I'm now using the MovieClipLoader, but it's not quite working the way I want because all clips are loaded seperately.

What I do want is to preload all the swf files with one preloader with the loaded and total bytes of all the swf files added up.

And when all the swf files are loaded then make them visible and move on.

Any help would be much appreciated!



FlashKit > Flash Help > Flash ActionScript
Posted on: 03-16-2006, 07:28 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Preloading Multiple SWF Files?
Hello.

I have 4 swf files and when the 1st one finishes playing, it goes to the 2nd and plays, then to the 3rd and so on.
(by using loadmovie in Actionscript)

Is there a way to preload all 4 files at once and then play?

All the tutorials seem to only cover preloading a scene.

Preloading Multiple Swf Files
hi, thanks for any help. My question as stated in the Subject involves preloading multiple seperate swf files into the cache at one time. Heres the situation explained alittle better....

The page is set up starting with an intro which then brings you into the main page. The intro and first(or "main") page are two seperate swf files. From the main page you are able to click on 7 different links, each link loads another seperate swf file. Now i realize the best and easiest way to load is page is on demand, but my client has specifically said they do not want on demand loading, and they are very adamant on the point. So my actual question to the board is: how would i load all of the seperate swf files into the users cache before viewing the intro so that they are ready when links are clicked within the main page?

Feel free to Instant message me or email me if you would like to help, thanks.

Preloading Multiple '.swf' Files
For a web site I'm designing, I have the main file which uses 4 other files as pages. I want to be able to preload the other files with my initial preloader, so that when the user clicks on the links in the menu, the animation will run immediately. Currently, the main animation will run, while the page selected will be loading, therefore the animation on the second page will happen after it is supposed to.

I'm sure that this is easy for many, but I can't figure out how to go about scripting this.

Sincerely,
ex

P.S. Email me for a better detailed run down of the problem, as my above writing comes off a bit confusing.

Preloading Multiple XML Files
Hi,

I can't seem to find a solution to this problem. I have a movie that loads in all text via xml into dynamic textfields. At speeds of 20k and above all works well. Anything less than this results in the text fields remaining blank or showing undefined.

I know the reason for this, it is due to not enough time for the xml to load, hence bandwidth of 20k and above will work anything less wont. I have preloaders on my movie that load the contents, but nothing that will load the xml. I have tried loading the xml a few frames before the preloader but once again this will only work at higher bandwidths.

Is there a way I can preload multiple xml files and/or combine this with my preloader so that it takes both movie content and externally loaded xml files into account.

Are there any good examples of xml preloaders.

Thanks in advance.

Regards

T.

Preloading Multiple Swf Files
Hey,

What is the best way to preload few swf files so when they are called by
loadMovieNum action, they will appear immediately.

Thanks in advance.

Preloading Multiple Swf Files
I need to preload multiple swf files in my holder movie?

where the hell did gotoandlearn go??

Preloading Multiple SWF Files
Mmmmmmmmm,
Now I almost finish my portfolio but I left for the end the most difficult thing to me. I really don’t know how to do the loaders and now one week later I have headache. I was trying to solve this problem with the listeners but I couldn’t.
I hope some of you guys can help me…
The problem is that I want to have one file SWF that will load multiple movies.


PHP Code:



loadMovieNum("nouveBkg.swf",1);
loadMovieNum("ButtonsFR.swf",2);
loadMovieNum("infoFR.swf",3);
loadMovieNum("toper.swf",5);
loadMovieNum("mouser.swf",10); 




I want to do this cause then I’m just going to change level 1 and 3 (2 ,5 and 10 are constants).
Is there any way to do this?

Preloading Multiple Files
MM has a nice little dev article about, it goes into the theory of it, but doesn't provide full-coding examples, I'm wondering if anyone here has any experiance with it, I know it has to something with putting each file into a MC, like a wav, img per mc etc, and while tracking the load progress using "checkLoadProgress", anyone have any experiance with this ? Any tut links or coding examples would be great too.

http://www.macromedia.com/devnet/mx/...loader_05.html

Preloading Multiple Swf Files
Hi, i'm browsing true this forums for some days now, and yes there are many preloaders out there, but i can't really find one that works for me.

first off, i'm not good with english and 2nd i'm not that good with actionscript either, i can understand code to some degree, but i'm more of a copy/paster.

my site pretty much work like a slide show. the navigation (6 buttons) takes you from
one place to another, moving the content back and forward. The problem with this, is that pretty much all content have to be loaded from start, sometimes when the page loads slow or you are on a bad connection, you get transported to a blank page, since that swf haven't been loaded yet. Hope you guys understand my site now. I'll give you my structure also.

index.swf ( movieclip (contentHolder_mc) that loads all the content, basic layout,
| navigation buttons (home, about, products, video, faq, contact) )
|
|_ home10.swf ( content first page, HOME )
|_ about20.swf ( content 2nd page, ABOUT )
|_ products30.swf ( content 3rd page, PRODUCTS, also 4 submenys, navigation works
| | the same way, slideshow back and forward )
| |
| |_ products31.swf (content)
| |_ products32.swf (content)
| |_ products33.swf (content)
|
|_ animation40.swf ( content 4th page, ANIMATION, also 4 submenys)
| |
| |_ animation41.swf (content)
| |_ animation42.swf (content)
| |_ animation43.swf (content)
|
|_ faq50.swf (content 5th page, FAQ)
|_ contact60.swf (content 6th page, CONTACT, 2 sub menys)
| |
| |_ contact61.swf (content)
| |_ contact62.swf (content)

in index.swf they are loaded true true a movieclip called contentHolder_mc:


Code:

loadMovie("home10.swf", contentHolder_mc.contentHome_mc);
loadMovie("about20.swf", contentHolder_mc.contentAbout_mc);
loadMovie("products30.swf", contentHolder_mc.contentProducts_mc);
loadMovie("animation.swf", contentHolder_mc.contentAnimation_mc);
loadMovie("faq50.swf", contentHolder_mc.contentFaq_mc);
loadMovie("contact60.swf", contentHolder_mc.contentContact_mc);
and for fun i'm posting the tweens also, so you get a hang of the way the navigation works.


Code:

mProducts_btn.onRelease = function() {
var xProducts:Tween = new Tween(contentHolder_mc, "_x", Strong.easeInOut, contentHolder_mc._x, -1200, 2, true);
};
Now to my question, problem.

I need to make a preloader for this, that loads all external swf's at the very first frame with a typical progressbar, for ALL the content, not for every single swf.

my dream solution would be.

at first frame, a basic progressbar pops up (0 to 100%) when 100% it goes to frame 2 and the site is revealed/loaded. at the moment i got a working preloader for this, but i can't get it to load all the external swf files.

posting code here, as you see this wont work:


Code:

onClipEvent (enterFrame) {
loaded = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
progress = Math.round((loaded/total)*100);
loaderInfo = Math.round((loaded/total)*100) + " % LOADING";
progressBar._width = progress*2;
if (loaded == total) {
_parent.gotoAndPlay(2);
}
}
while i was browsing the site i found this, made by a guy named scotty, that looked very cool, but to bad i didnt fully understood it.


Code:
var k = 0;
swfs = new Array("sendo10.swf", "sendo20.swf", "sendo30.swf", "sendo31.swf", "sendo32.swf", "sendo33.swf", "sendo40.swf", "sendo41.swf", "sendo42.swf", "sendo43.swf", "sendo50.swf", "sendo60.swf", "sendo61.swf", "sendo62.swf", "sendo63.swf");
function preloadSwf() {
var con = container.duplicateMovieClip("con"+k, 9984+k);
con.loadMovie(swfs[k]);
var temp = this.createEmptyMovieClip("temp"+k, 99+k);
temp.onEnterFrame = function() {
info.text = "Loading "+swfs[k];
if (con._width) {
con._visible = 0;
nextSwf();
delete this.onEnterFrame;
}
};
}
function nextSwf() {
if (k<swfs.length-1) {
k++;
preloadSwf();
} else {
con0._visible = 1;
}
If i could combine these two scripts, i think i could get the solution i'm looking for. Or do you guys strongly disagree or is there a simpler way? Need all the help i can get, thx in advance.

// best regards Daniel

Preloading Multiple Files
MM has a nice little dev article about, it goes into the theory of it, but doesn't provide full-coding examples, I'm wondering if anyone here has any experiance with it, I know it has to something with putting each file into a MC, like a wav, img per mc etc, and while tracking the load progress using "checkLoadProgress", anyone have any experiance with this ? Any tut links or coding examples would be great too.

http://www.macromedia.com/devnet/mx/...loader_05.html

Preloading Multiple SWF Files?
I'm currently working on my first flash website. I have a preloader set up to display whilst loading the main section / navagation of the site. When this is completed the main section then calls 2 other external SWF files. One is a music file which plays in the background and the other is a SWF file containing the introduction page text, scroller etc. My problem is that both of these files are being called together which means it takes ages for the introduction text to appear because the music SWF is 35k.

Is there a way I can preload the main section and the music SWF file so that once they are loaded the site only has the intro SWF left to load? The reason I'm not embedding the mp3 in the main SWF is because I have a music player set up which calls 5 different SWF files. That's why I want to keep all the music in external SWFs.

Any help would be great, thanks!

Preloading Multiple Image Files With One Bar
Hey all. I'm inserting some images into my Flash movie and their contents are delivered through a PHP script. The flash movie won't know how many images will be in the movie (simple image fade movie) until the PHP script tells it. Anyway, I'm wondering if anyone knows a good tutorial on creating one preloader bar that will average out the loading of all images before the movie starts to play. Oh, and I'd much rather use new MovieClipLoader() for this...

Trouble Preloading Multiple .swf Files
Hello-

I've been banging my head against a wall trying to get a preloader that preloads multiple .swf files into an empty clip while a preloading animation/counter runs, but it's not working properly and I'm just mangling the code. I could really use some help. Here's what I've got going:

stop();


mcLoader = new MovieClipLoader();
loadListener = new Object();
mcLoader.addListener(loadListener);
mcLoader.loadClip("GMWEB_NIKER.swf", loader_mc);
mcLoader.loadClip("GMWEB_E4.swf", loader_mc);
mcLoader.loadClip("GMWEB_MONO.swf", loader_mc);
mcLoader.loadClip("GMWEB_adiO.swf", loader_mc);
mcLoader.loadClip("GMWEB_ASIMBA.swf", loader_mc);
mcLoader.loadClip("GMWEB_SUGAR.swf", loader_mc);
mcLoader.loadClip("GMWEB_TS.swf", loader_mc);
loadListener.onLoadStart = function() {
loader_mc.stop();
};
loadListener.onLoadProgress = function(loadTarget, loadedBytes,
totalBytes) {
preloaded = Math.floor(loadedBytes/totalBytes*100);
loaderText_txt.text = preloaded+"% loaded into "+loadTarget;
bar_mc._yscale = preloaded;
};
loadListener.onLoadComplete = function() {
loaderText_txt._visible = false;
bar_mc._visible = false;
gotoAndPlay("meat",1);
};

//

I have this all running in a scene called "preloader", with my main content timeline in a second scene called "meat". It seems to run the preloader for just long enough for the byte count of the preloader
scene to load and then jumps to the next scene, and then the .swf files are not cached and take a while to show up. Help! TIA.

Preloading Multiple SWF Files Into One Preloader
I'm trying to load multiple swf files, in one preloader, such as the navigation, BG picture and so forth. For the Contact Page, Warranty and so forth, they will be independent, but I can't seem to preload the base swf files into one preloader.

Preloading Multiple Swf Files Question
I want to make my index page a splash page with a preloader that loads the two swf files used on the main html pages of my site, then goes to main.html once the two files are done loading.

Been trying to figure this out for two days. Any help would be appreciated!

Preloading And Playing Multiple .flv Files
Hi all,

I'm making a small .flv video player that allows the user to watch 3 different videos. When they press a button to play one of the videos, the player preloads and plays an advertisement before preloading and playing the video they selected. After watching the advertisement one time, they can watch the 3 videos without having to watch anymore ads.

I've got this working alright, but I've got a very long-winded approach that is making it difficult to add the preloader to the videos. I'm hoping someone can suggest a better way of doing this.

I'm attaching the .fla for your reference.

Thanks in advance for the help!

Preloading Multiple External Swf Files
Hi Guys,

I'm working in Flash MX

I made a site completly in flash.

But to lower file size I made the each section a different swf file

when you click a link you will have to wait for that section to load, it would be good if peoples can see the loading progress while they r waiting.

And i hav added a preloader in each of the external swf file.. and then i realise that if i wanna change or modify the preloader, i will have to change all the preloader too.. this is really kicking axx..


is there a way where on the main page there is only 1 preloader needed to show all the external swf files loading progress? i am using an empty mc as container to load thoose external swf files..

hope you guys can give any ideals or show me some similiar tutorials,

Thanks

Preloading Multiple External SWF Files
hello-

this is how im trying to preload external swf files:


Code:

var Count = 5;
for (var i = 1; i<Count; i++) {
var fileLoad= this.createEmptyMovieClip("fileLoad"+i, this.getNextHighestDepth());
fileLoad.loadMovie("swf/page"+i+".swf");
}
i am loading first four swf files from swf directory (page1.swf, page2.swf, page3.swf, page4.swf) - However, I WOULD LIKE THEM TO BE INVISIBLE WHEN THEY ARE PRELOADED TO THE STAGE.. how should i do that.. "fileLoad._visible = false;" does not work- please help!!!!!!!!!!!

Preloading Multiple Swf Files With One Preloader
I have a swf file that I am using for transitions in a flash site. The site will use multiple swf's and I want to be able to use this transition file over repeatedly to preloader the various levels. So, my question is where do I start to code this as the transition swf file is in a level too? I just want to be able to preload all the levels above the transition. I hope this makes sense.

Displaying LoadProgress For Preloading Multiple Files
Hey all

How do you track the loadprogress when preloading multiple files using the movieClipLoader?

Cannot get it to work - only if loading a single file.

Is there a clever way to solve this?

Thanx in advance...

Best regards

Tom

Preloading Multiple Swf Files, My Code Won't Work
I know this has been touched on before but i couldn't find a suitable solution to my issue..

I am trying to preload my sharedFonts file as well as the main movie file (in which the preloader is in)

I am using an empty movie clip to loadMovie the sharedFonts.swf file, and then the preloading code calls that mc in.

frame 1:


Code:
fonts.loadMovie("sharedFonts.swf");

frame 3:


Code:
pcent = Math.floor(fonts.getBytesLoaded()+getBytesLoaded()/fonts.getBytesTotal()+getBytesTotal()*100);

progress.ppp = pcent;
progress.gotoAndStop(Math.round(pcent/2));
if (pcent<100) {
gotoAndPlay(_currentframe-1);
}

can anyone help me figure it out? thanks for any help

Preloading Multiple Files Before Your Movie Plays.
Let me first say that my Actionscript skills are middle-of-the-road at best.

That being said...

I need some help creating a sequential preloader. You would see a message as each bit is loading: "loading xml", then "loading photos", the "loading video", etc.

Thanks in advance for your help with this one!

Preloading Multiple Files For Main Site.
I've taken the advice of many people and seperated many of my elements for a web site out into separate swf files in order to reduce overall file size. However by doing this I've ran myself into a big problem -- and since I don't typically worry about preloading tactics until the end of my project, I'm in some trouble.

Although a good majority of the site is fine the way I have it, initially there are about 4 swf files and a list of both txt files and xml files to load in (used for text, etc) before anything can really GET going. Otherwise people are going to be looking at loading menus and the experience will be too broken up.

So, phew, what I'm trying to get to is if anyone out there knows of a preloading system that can take into account different types of Objects (MovieClip, XML, LoadVars, maybe even CSS) and group it together so I have the necessary information all ready to go?

I've had to avoid setting my files up like this in the past because I couldn't figure a way out to do it. I should've remembered that this time. Lol. Damn my curiousity! :shock:

Mx 2004 Preloading Sound Objects And Multiple Files
Can anyone suggest the best solution for preloading the following type of site structure. I'm using Flash Mx 2004 and Actionscript 2.0. For me, building a preloader that handles complex site structures that accomodate attached sounds, shared libraries, and multiple swfs that load into levels is a bit of a nightmare.


1. A 'master.swf' ( _level0 ) file that ...

- that loads 'main_menu.swf' into _level1
- that loads 'bottom.swf' into _level2;
- that loads content.swf' into _level3.

2. Note the master.swf timeline is ten frames long. On Fr01 I
load 'trigger.swf' into _level3 which initiates the downloading of my
shared library. Once the library is downloaded, the code _level0.play() will
move the master timeline to FR10 where the above files are loaded into
their respective levels.

3. Note 'content.swf' has numerous sound objects (52) and sound files inside
of movie clips which are strung out along the timeline of content.swf. All
of these sounds are quite short so I didn't think it would be practical to
stream the sounds. Thus I'm loading a movie into _level3 with 52
attachedSounds which add about to 102kb.

4. Note - the preloader should be activated anytime an swf is loaded into a
level of the master file.


Thanxs in Advance

Last Radius

Preloading Multiple External Swf With Multiple Progress Bar
hi guys! I need a tutorial that loads multiple external swf with different progress bar..i tried to search different tutorials but none of them satisy what I'm after..i hope you can help me on this..i really need it for my project..thanks in advance!

Preloading Multiple Mc's On Multiple Levels
Hi folks, there are lots of posts on preloading, which I've waded through, however, I'm having some difficulty with my particular situation.

I would like to preload mc's into levels 0,1 and 2

level 0 never changes
level 1 changes based on selections from level 2
level 2 is the main interface with 'slider's that move over other levels.

I've used oldnewbies preloader succesfully for loading a single mc but I haven't been able to load all three at one time.

The site in question is at http://www.faithbaptistwaterford.org/FBCv2/index.html

Thoughts?

Thanks in advance,
Blue

Targeting Multiple Preloaders For Multiple Files...
Hi there!

I just can't figure out how to use a preloader script for multiple loaders displaying at the same time. And I also just don't understand the target movieclip parameter for onLoadProgress. What is this parameter suppose to be?
The movieclip beeing loaded according to Macromedia but if you put mc.swf it gives you an error so it should be mc then or what? I thought I could use this parameter to kind of target and tell flash what file it was suppose to listen to and then control what preloader to start but it just doesn't work. Also what is the function of this parameter - I just don't get it... When I use the script below the loader starts for every file loaded into a listener called myMCL but I would like to have different preloaders that can be seen at the same time.
For example a preloaderbar for background loading and another one for content loading etc. How can I achieve this using something similar to this code...


myListener.onLoadError = function (target){
bkgMCL.loadClip("error/error.swf", bkg);
_root.gotoAndPlay(28);
};

myListener.onLoadStart = function (target){
this.bkgPreloader._visible = true;
}

myListener.onLoadProgress = function(target:MovieClip, loadedBytes:Number, totalBytes:Number){
var preloadPercent = Math.round((loadedBytes/totalBytes)*100);
_root.bkgPreloader.gotoAndStop(preloadPercent);
};

myListener.onLoadComplete = function(target){ //loading contents after bkg loaded
this.bkgPreloader._visible = false;

};

Multiple External Text .txt Files In Different Swf Files
I'm trying to have several external files (txt or html) attached to a several swf flash files, loading in different levels of one main movie, for easy updating.

Example is: loadVariablesNum("ext-track.txt", 0);
This I can do, partly working.

Say you click the button for "about" that loads that flash file (in a layer), it fails to load in the relevant external file (the movie loads just not the external text file).

When you open up the "about.swf" on its own, it loads up the external file no problem. It just fails to do it when I am loading it from the main swf movie file that then loads this in a layer.

I can get all the text files working by putting in all the loadVariable parts in the main movie but I need them put into their relevant swf movies.

Does that make sense?

How do you correct, something to do with layers or targetting? I'm sure it'll be easy for you guys, Actionscript ain't my thing.

Thanks.

Multiple Preloading - Is This Possible?
hi

i have a main movie size of 600x300. within this movie i have three 600x100 movies that get pulled in called movie a, movie b and movie c.

these all work fine and get pulled in but what i want to happen is for movie a to be loaded in and once this has loaded, then movie b gets pulled in then and once this has been loaded then movie c gets pulled in.

i think i will need a preloader which i know how to do, but i'm not sure how to get a movie to find out if the previous movie has loaded.

any help would be great, many thanks

tasvinooooooooo

Preloading Multiple .swf's
My site is made up of different .swf files that are all linked together using loadMovieNum. I am looking for a way to preload all of these .swf's at the same time to avoid the common 'skipping' problem between loads. I don't want to use preloaders for each .swf because the transitions must appear seamless.

I've been at this for hours and cannot think of anything! PLEASE help!

If you take a look at my site you'll see what I mean (http://www.colinmckinney.com). The problem is really obvious when you click any of the buttons.

Preloading Multiple Swf
HI !

I've made a flash site , the main page and 15 seperate swf loading on the button click in the main movie.In each 15 swf their is a loader
which loads the movie before playing. But its very annoying getting loading on each new click.


So is it possible that while the main movie loads and plays the remaining 14 swf preloads in the background so that browsing is fast.

If their is any option I would be pleased to know.

Cheers!!!


Sabs

Preloading Multiple .swf
I have 5 .swf files and on my computer it all runs dandy...

I need to put it on the internet... how should i preload it?

do i need a preloader in each .swf file? if so how can i do this without making it different than from when i play it on my computer

Preloading Multiple SWF's
Hey guys,

I have a large flash movie divided into 10 different swf files. Right now, I just call each swf file at the end of the previos swf and it works fine just watching it on my computer. However, if I wanted to put it on the internet I would have to preload each swf and then start the movie. I was thinking about just having a simple swf at the very beginning to preload each swf somewhere and then play the first swf. When that first swf is done it will call the second swf that has already been preloaded so it will load instantly and not even look like another swf file. The only problem is that I’m kinda a noob at actionscript so I need some help. I’ve searched google for my problem and found a few tutorials, but they were confusing and didn’t really answer my problems.

Any help would be greatly appreciated.

Preloading Multiple SWF's Help
ok.

ill explain this in detail because i cant seem to be able to make the preloader work...mostly because i hardly know any actionscript. I followed a lot of tutorials..but non did what i wanted.

I have my first flash document called "layout" ... this is basically just a template. in the milddle of this document..there is a blank area which external SWF load into.

one of the external swfs that loads in there is the gallery..and the gallery has external JPG images which load up with onMouseOver.

now, before my layout page even pops up..i want to be able to preload all of these swfs and images so there is no delay.

Can someone refer me to tutorial that does this? or explain in detail? thanks in advance

ps. please keep in mind im new to flash

Preloading Multiple Swf's
Hi

I'm buiding a big site using several swfs but I want all of them preloaded at the first page so there's no delay when going through the site.

How do I do this?
Is there any fla examples out there which I can use as a guide?

Cheers for the help
E

Preloading Multiple Swf's
Hi

I'm buiding a big site using several swfs but I want all of them preloaded at the first page so there's no delay when going through the site.

How do I do this?
Is there any fla examples out there which I can use as a guide?

Cheers for the help
E

PRELOADING MULTIPLE .SWF's ...
Hello, I have done some research and so far I have not found anything that can help me answer this question. I am trying to preload TWO separate .swf's using ONE preloader. Can this be done?!

Let me explain it further, lets say I have a movie called ONE.swf and I want it to preload ONE.swf AND TWO.swf at the same time. I want the "100%" to be equal to BOTH movies ... and not just the first movie.

Can anyone help me with this ... or point me in any particular direction? Thank you so much!

Sincerely,
Brian Griffith

Preloading Multiple Swf
Hi guys,

Im trying to preload the first external swf along with the main preloader so that the animation will be smooth. Can anyone help me with this? I want the first external swf to be loaded into a empty movie clip in the main swf, and not into a different level. A tutorial or sample fla would be helpful.

Cheers

Preloading Multiple SWF
Hi

Does anybody know how to set a queue for loading SWF movies. Basically what i am after is a piece of action script that will load in movie but then continue loading other swf's in the background so the user has all the files loaded into cache to make the site run better.


Your help much appreciated,

Rob

Preloading Multiple Movies
Could anybody post some sample .fla how to preload multiple movies. I tried the tutorial posted at where-here.com but it doesn't seem to work if you have movies preloaded with animations in it.

Thank you

Preloading Multiple Swfs
How can I preload mulitple swfs with one preloader. I need to preload a background music loop and several other swf's. Any help is greatly appreciated.

PreLoading Multiple Movies
Ok, I know that this question may sound dumb to alot of you but I am a designer that is trying to progress into the realm of development and programming. I have recently lost my ActionScripter, so I have serious motivation to learn AS and to master XML...

Here it is:

I know how to make a percentage-preloader for a single movie, but I do not know how to preload one section of my site at a time (ie load main first, then PROFILE when it is selected by user etc)

Can anyone help me????

Preloading Multiple Swfs Into One
::FlashMX::

I'm using the following to preload my movie:

Code:
onClipEvent (load) {
total = Math.round(_root.getBytesTotal()) + " bytes";
}
onClipEvent (enterFrame) {
download = Math.round(_root.getBytesLoaded()) + " bytes";
bytesleft = Math.round(_root.getBytesTotal()-_root.getBytesLoaded())+" bytes";
percent = Math.round(_root.getBytesLoaded()/_root.getBytesTotal()*100)+"% Loaded"
if (_root.getBytesTotal() == _root.getBytesLoaded()) {
_root.gotoAndPlay( "slides", 1 );
}
}
I have 5 external swfs embeded into the parent swf. how can I tell my preloader to also load those files before starting the movie?
[Edited by compgrfik on 09-21-2002 at 03:43 PM]

Preloading Multiple Movies
hi people,

i have got the gist of creating a preloader but before i start i was wondering how i would go about this scenario :

i have 4 swf,s about 700kb each now if i get the first one to load using a preloader what would be the best way to have the other 3 preloading whilst someone is watching the first ?

the idea would be that as soon as the first swf has been watched the next drops in and plays straight away as it has been preloaded then whilst this is being watched the next preloads and so forth

is this possible or am i asking a bit too much ??

Preloading Multiple .swfs
how do you preload multiple & completely seperate .swf's
from one .swf?

Preloading Multiple Swfs
I have created a project that consists of several swf files that play one after the other. i need to creat a preloader that will load either all at once, or will load them in the background as it plays. thnaks a lot!

Preloading Multiple External Swf
HI, i am having al ot of trouble with this. I've tried a couple of example with little luck. i have a projects that consists of 7 swfs that play one after the other. i want them all to preload then play in the correct order. i'm not sure how to handle this. any help would be greatly appreciated!

Preloading Multiple Movies
I have a main site that has been compartmentalized into 6 sections. The root movie loads 6 separate movies for each section. The problem i'm having is that my preloader works only for the root movie not each section, so sections are loading at different rates, and this interferes with functionality.

Is there a way to have a single preloader take in consideration multiple movies?

thanks icarus666

Multiple Preloading Problem
Hey

I have been able to create a preloader that preloads my entire page all at once ( at the begining ).
My page is rather big - and you have to wait too long!

What i need is to be able to preload multiple loading sequences.
So that when a user enters my page each section is loaded only when you enter it.

Hope i have explained this well enough.

CAN ENYONE HELP?

Cheers werglum

Copyright © 2005-08 www.BigResource.com, All rights reserved