Is it no problem to load multiple SWFs simultaneously with
MovieClipLoader.loadClip() method? I saw a sample fla, [Flash 8
Application]/Samples and
Tutorials/Samples/ActionScript/Galleries/gallery_tween.fla, which calls
MovieClipLoader.loadClip() method multiple times in for loop as follows:
/* create a function which loops through the images in an array,
and creates new movie clips on the Stage. */
function displayGallery(gallery_array:Array) {
var galleryLength:Number = gallery_array.length;
// loop through each of the images in the gallery_array.
for (var i = 0; i<galleryLength; i++) {
/* create a movie clip instance which holds the image. We'll
also set
a variable,
thisMC, which is an alias to the movie clip instance. */
var thisMC:MovieClip =
this.createEmptyMovieClip("image"+i+"_mc", i);
/* load the current image source into the new movie clip
instance,
using the MovieClipLoader class. */
mcLoader_mcl.loadClip(gallery_array[i].src, thisMC);
I uploaded the sample to my server and it loads JPEG files without
problem. But I wonder if it works with narrow band as well. Does the
MovieClipLoader class manage multiple request to load files from a
server at the same time? Or, is it better practice to load one file
each after the prior file is completed?
Regards,
Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Flash community<http://F-site.org/>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders