Ask a Question related to Macromedia Flash Sitedesign, Design and Development.
-
Adil Bamanbehram #1
Preloading Multiple External Swfs
hi there,
i seem to be having a small problem in preloading external swfs. i have a
main flash file(main.swf) which is a slideshow of 8 external swfs (1,2,3,4
etc).
if the file is not loaded (or not in cache) it therefore loads the external
swf. thats fine in a way.. but this is unwanted..
i have tried to use the Loadmovie with Target syntax and load the external
swf movies in a hidden movieclip named "preload". so in otherwords i have
copy pasted the Loadmovie tag 8 times, specifying the respective 8 movie
clip names.
loadMovie ("1.swf", "/preload");
loadMovie ("2.swf", "/preload");
loadMovie ("3.swf", "/preload"); ....................
............ loadMovie ("8.swf", "/preload");
now what happens is.. it doesnt preload all the 8 movies.. it only preloads
the last 8th movie as it is the last Loadmovie tag mentioned in the
actionscript. i fail to understand why it doesnt preload the first 7 movies
when i have given the syntax for it to load the movies.
Please help asap as to how, can i surely achieve the preloading of all/any
'n' numbers of external swfs.
thanx
Adil Bamanbehram Guest
-
Preloading dynamic swfs
Hi Guys, I hope you can help me. I'm trying to create a standard container in flex for my flash files, so they'll dynamically load a flash movie... -
Loading and preloading .swfs
Suppose I have two .swf files of size 1.5mb each. I would like to play one of them and while I play the first .swf. I'd like to start loading the... -
external .swfs on different levels
Hey there, i'm having a little problem with some actionscript for my site... I have my own scrollpane that i have designed (not a component, so i... -
preloading an external swf
hi im hoping someone can shed some light on this little poblem im having - Im making an educational tool as part of my project for uni :- Im... -
external swfs, with streaming mp3.
I've gone through every post on this site and have been unable to find an answer to my problem though many claim to be it. I have a site with a... -
Peter Blumenthal #2
Re: Preloading Multiple External Swfs
It will load all 8 movies, but you can only have one movie loaded into a
clip at any time, so each of the previous movies will be replaced by the
next one to load. that's why you are left with the final movie.
You need to create 8 seperate clips, and load the swf's into one each. If
you call them preload1, preload2...preload8, then do something like
for (var i=1; i<=8; i++){
loadMovie(i+".swf", _root["preload"+i]);
}
that should sort it.
}`¬P
Peter Blumenthal Guest



Reply With Quote

