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








Load Multiple Mc's But 1 Preloader


Hello,

I have a preloader that loads a 'big mc', that loads little mc's.

I had it working so that first preloader loaded 'big mc', but then 'big mc' had to load many 'small mcs'.

So,
I want to load 'small mcs' into 'big mc' from first preloader.

make any sense?

Right now I can't even get this to work

ActionScript Code:
loadMovie("Main.swf", _root.mainEmpty);// this loads 'big mc'loadMovie("Menu.swf",_root.mainEmpty.Menu);// this then loads a 'small mc' into 'big mc'  


I guess I can't put these right next to each other?

I'm confusing myself, but if anyone can make sense of this, help is appreciated.


edit:
=========================

I need to get my preloader to load a big mc and then small mc's into it.

I would like to be able to have all mcs load at my initial preloader.




KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 01-19-2004, 07:37 PM


View Complete Forum Thread with Replies

Sponsored Links:

Complex Preloader - Load Multiple Movies W/ One Preloader
Hello to all!

I haven't asked a good question in quite a while so here's one.

I know how to create a general preloader fairly well. What I want to do is take it one step further.

I want a preloader with a status bar...but here's the caveat...I want it to load multiple external movies instead of just one. So it would load one after another and show the status of each.

I can't think of a site off the top of my head, but it would show loading and then it would load...say audio player...shows text "Loading Audio Player" and then shows loading progress...and then...image loader...shows text "Loading Image Loader" and then shows loading progress, etc.

You get the point.

Any takers?

Thanks.

View Replies !    View Related
Load Multiple Mc's But 1 Preloader
Hello,

I have a preloader that loads a 'big mc', that loads little mc's.

I had it working so that first preloader loaded 'big mc', but then 'big mc' had to load many 'small mcs'.

So,
I want to load 'small mcs' into 'big mc' from first preloader.

make any sense?

Right now I can't even get this to work

ActionScript Code:
loadMovie("Main.swf", _root.mainEmpty);// this loads 'big mc'loadMovie("Menu.swf",_root.mainEmpty.Menu);// this then loads a 'small mc' into 'big mc'  


I guess I can't put these right next to each other?

I'm confusing myself, but if anyone can make sense of this, help is appreciated.


edit:
=========================

I need to get my preloader to load a big mc and then small mc's into it.

I would like to be able to have all mcs load at my initial preloader.

View Replies !    View Related
How 2 Load Multiple Movies And Use A Preloader 4 All
hi, i made this http://www.bodyflair.nl/test/loader3.fla preloader and now I want to load multiple movies that i'll be using throughout my site, so that visitors only wait once for all movies 2 load. And I want the preloader to show the progress. How do do this?

View Replies !    View Related
Need A Preloader That Will Load Multiple Swfs
I created a 19 scene (separate swfs) presentation that loads a little slowly on dial-up. I am looking for a way to preload all 19 swfs before the thing starts.

I had it so that each successive swf loaded from the end of the one before.
I use Flash 5.
Any suggesions?
Thanks,
Rich

View Replies !    View Related
Single Preloader For Multiple Swf Load
Hi
I have a container Flash application that loads multiple swf movies to multiple locations at runtime. I'd like to have a preloader for the loading movies. What would be the best approach in this case? Where should I place the preloader? Can you point me to a tutorial somewhere?

thanks
mark

View Replies !    View Related
Load Multiple Jpgs With The Same Preloader
hell flash kit community goodness
i am preparing a website with a main swf file
and several jps that will load into this main file
i have created a percent bar loader movie clip
inside the main file and i wish to use
this movie clip to show the progress
when i load the varying images into the main file
i have created the loader movie clip
and have buttons and everything for each image
is this possible, im sure it is
and could someone send me some code
or direct me to a website which will help me
godspeed
bryan taylor robinson

View Replies !    View Related
How To Use A Preloader To Load Multiple Scenes?
Hi,

I'm building a small website in flash and I have decided to use scenes. I have divided the scenes into the different pages that make up the site. (home, about me, contact)
I also made a scene called preloader, that had my preloader animation and code.

I now want to use that preloader to load each scenes when the button is clicked.

Can you show me how this works? I have attached an example my flash file here.

View Replies !    View Related
Flash 8 Preloader Help... Load Multiple Movies
Hello Everyone,

I want to preload my main movie and then before it plays I also want it to preload my home movie so the animation will be smooth. To get a better idea of what I am talking about you can view the website at http://www.thedesigncompound.com . Please help me.

View Replies !    View Related
AS3: Load Multiple Variables Into Multiple Dynamic Text Fields
I have a php file that makes this list


Code:
Cid1=3
&Lid1=22
&Title1=amazing
&Date1=1212128413
&Ext1=jpg
&Hits1=129
&Rate1=9.5000
&Cid2=1
&Lid2=22
&Title2=cool
&Date2=1212128413
&Ext2=jpg
&Hits2=129
&Rate2=8.5000
Now, I want to load the 7 bits of data into 7 dynamic text boxes.

I have to code to load a movieclip as a button onto the stage.

When I click that button I want the data to load.

I can kind of load all the data as a string into one dynamic field but don't know how to get each variable into a different text box. Any help would be great.

Regards,

Glen Charles Rowell

This is some working code for loading one variable but I need help with the rest please.


Code:
var url:String = "http://www.secretcanttellsorry.php?cid=3&orderby=ratingD&guid=on";
var Cid1:URLLoader = new URLLoader();
Cid1.addEventListener(Event.COMPLETE, completeHandler);
Cid1.load(new URLRequest(url));

function completeHandler(event:Event):void {
poptext.text = event.target.data as String;
}

View Replies !    View Related
How Can I Load, Multiple Images Into Multiple Key Frames At Once..
Hey guys, I have this..pseudo 3d model viewer for my site that I am working on. The only problem is, I don't want to manually add every image to the flash...especially if I have 45 images or so and I am pretty sure there is no way to automate this in actionscript..


http://www.pcgamemods.com/slideshow/revolve.html

this is a pretty crude example but it shows you what I am aiming for. I just wanted to know if there was an easier way to add images to frames or if there was a program to do it for you.

View Replies !    View Related
Multiple Swf With Multiple Image Load Methodology.
I can't seem to get my head on straight tonight.

My scenario is this…

One main site frame swf and one swf per page, I have a small pre-load anim for the frame itself and one nice pre-load anim in the main frame to use with the subsequent pages.
In the default page I am loading right at the start I have an image gallery with several images loaded using a single MovieClipLoader instance. I'd like to monitor the load of the page and the image loads using the root level preload anim I'm wondering if using a single MovieClipLoader am I precluding this from working since the loads are happening concurrently.

How would/do you handle situations like this?

Thanks,
J.

View Replies !    View Related
Getting A Load Scene To Load Multiple Frames
hi,
my current load scene action script looks like this


ifFrameLoaded ("main scene", 1) {
gotoAndPlay("main scene", 1);

}

how do i get it to load multiple frames up before it "gotoAndPlay("main scene",1);

View Replies !    View Related
I Need To Load Multiple .SWF's In The Main Pre-load...HELP
I have a main movie .SWF and I have a bunch of load movies that open pop up windows into the main movie. I need to know if you can have all of that Preloaded all at once in the beginning. Please help, I 've been trying to figure this out forever.

View Replies !    View Related
One Preloader For Multiple Swf's
hi, i made this http://www.bodyflair.nl/test/loader3.fla preloader and now I want to load multiple movies that i'll be using throughout my site, so that visitors only wait once for all movies 2 load. And I want the preloader to show the progress. How do do this?

View Replies !    View Related
Multiple .swf Preloader
Ok so i have a website that will be utilizing multiple .swf's in pieces, now i want them all to be preloaded before anyone gets in so it wont be choppy, naturally. I could put them all in one but i havn't figured that out, and my site will use html as well as flash so i don't want the top frame to be loading while the bottom frame is already loaded.

What i'm looking for is a splash page that will preload all the elements of my homepage, and after it is loaded a link will pop up and goto my homepage which will have the .swf's loaded and ready to use.

Can anyone help me with this or is it impossible/too complicated?

View Replies !    View Related
Multiple Swf Preloader
Hi guys does any one have a multiple Swf Preloader, i need it asap i have to study in the inner structre of it.

View Replies !    View Related
Preloader For Multiple SWF's
HI,

I'm building a site with multiple SWF files. Each one having a preloader bar...

But when i re-call (not re-load) the swf's for a second time the preloader is still showing for 2 or so seconds...

I know it's picky, but is there a way of when the swf's are recalled to skip the preloader bar??

Just if anyone has any solutions, i'd be very grateful...

PM

View Replies !    View Related
Multiple Swf Preloader Help
Hi everyone,

I'm developing a flash movie wich is integrated by one main movie and three external swf. The main movie load the other three swf's with loadMovie function and i need to use one preloader -with a bar progress- to control the download of the externals swf's, but i'm having a problem, when i use the getBytesTotal() function for every movieclip instance -three empty movieclips for every external swf- in order to obtain the size of the swf i don't get the values, i'm just getting one size and then another or two sizes y then the last size. This is a big problem because the progress bar and the preloader never can get the size of the three external swf the first time the preloader run.

Anybody can help me with this?
Thanks in advanced for the help provided

Riflemex,

View Replies !    View Related
Multiple Preloader
Hi All,

Just wondering, is it possible to make a preloader that loads
multiple movies? For example...

I have a main movie that loads 3 external smaller movies into it
can I make a preloader that loads those movies
before the user actually clicks to load them into the main timeline?

Preloader in Main Movie

content 1 //////// 25%

content 2 ////////////////50%

content 3 /// 10%

any help is appreciated

View Replies !    View Related
Multiple SWF Preloader
I need to preload several swf's while a 'main.swf' is playing. This is for a CD project.

I have tried a couple different preloaders witn no luck. I would like the preloader to load the swf's in some order with someway to display which swf is loading and the progress of that swf.

The preloaders I tried would play the swf right after preloading it. I would like the swf to be preloaded and not play. Also, I would like the swf to not be visible after it is preloaded. I guess I could preload into a mc which I make invisible...

Any help on this would be greatly appreciated...

-john

View Replies !    View Related
Multiple Preloader?
Hello-
I have a thumbnail xml gallery I am building that is all actionscripted. I am not much of a programmer and am having trouble figuring this out. I load all my images in via xml, and dynamically assign and create the thumbnails. I use the "myMCL.loadClip" to load each thumbnail into its dynamically created holder. My question is this...I want to load ALL thumbnails first, then display them. Right now it just displays them as it loads. If I use "onLoadComplete", it only works after the first thumbnail loaded...not ALL of them. Any ideas on how to do this? Thanks in advance...

View Replies !    View Related
Multiple FLV Preloader
I´m sitting here with an interactive video application where I need to preload multiple Flash Video files. The first thing to do is preloading the first video file to be played then the rest. My idea is to put all the name of the files in an array and preload them one after one: when the first one is done the preloading of the next starts.

How can this be done in an good way? Is there another "better" way?

View Replies !    View Related
Multiple Swf Preloader
Hello
I am trying to make a multiple swf preloader.
I have to preload 40 swf files.


Please Help

Thank you

View Replies !    View Related
Multiple Swf Preloader?
Hi everyone,
is there an easy script to load multiple swfs with the preloader.
I've done some searching but everything seems so complicated. I just want the external swfs to preload so it doesn't take all day to load when it is called to the stage.
i thought this would be easy but it seems i thought wrong.
can anybody help me??
thanks guys

View Replies !    View Related
Multiple Preloader
Hey guys, i did a search on preloader didnt find the thing i want so here goes..

I have a main.swf which loads 6 other .swf , now at start im using main.swf to directly load all 6 .swf , i wanna create a preloader to display something like below

- Loading sequence -

About Us |||||||||| %15 completed
Portfolio ||||||||||||||||||||||||| %50 completed
Gallery |||| %5 completed
News |||||||||||||||||||||||||||||||||||||||||||||||||| 90% Completed

something like this, displaying all the loading sequence of all .swf at main.swf

Hope ya'll could direct me to a tutorial or examples

Thank you

View Replies !    View Related
Same Preloader For Multiple .swf's
Ok, heres the code I'm trying to use

ActionScript Code:
function checkLoad(target){    var lBytes = target.getBytesLoaded();    var tBytes = target.getBytesTotal();    var percentLoaded = Math.floor((lBytes/tBytes)*100);    loadbar._xscale = percentLoaded;        percentText = Math.floor(percentLoaded) + "% of " + Math.floor(tBytes/1024) + "KB loaded";        if(lBytes >= tBytes && tBytes > 0){        if(count>=12){            clearInterval(checkProgress);            loadbar._xscale = 0;            percentText = "finished, yo"        }        else{            count++;        }    }    updateAfterEvent();}


and for the on(press) I just call checkLoad() and pass the name of the .swf I'm loading. It seems to work for the first movie that I load, but not for any I load after that.

Here are my files:
http://web.ics.purdue.edu/~rstremke//multi_load2.zip

Theres a static preloader for all the movies; is that a pain, or should I just make a preloader in the beginning of each clip I load into the main movie?

Any help would be appreciated.

View Replies !    View Related
Help Please ***Multiple Preloader ***
What's the best way to preload lots of .swf?

I am using Flash MX.

I don't want to load into levels.

View Replies !    View Related
Multiple Preloader Q?
Greetings......

I have been fighting with this problem for the past couple of days.
Forgive me I am new to flash, and scoured the help forums for this problem.....

Here it is:

I am trying to get a preloader between scene 1 and scene 2
ie: scene loads, when a button gets pushed.. and bing..
preloader pops up and load scene 2.

Below is the script which I am using... instead of "_totalframes" I tried putting Scene 1 or Scene 2 depending on the scene... Once again thank you for your help!!!!!!!!!!!!!


if (_framesLoaded ==_totalframes) {
gotoAndPlay (3);
}

View Replies !    View Related
[F8] Pre Load Multiple Swf's? How?
I know this question has been asked many times, but ive been looking everywhere for hours and tried many tutorials and still cant get it!

I am designing an all flash site which has one main swf (the home page). There are many buttons that load external swf movies (for example gallery, contact, design team etc) which have a preloader each. Everything is working fine, but the problem is that it takes a long time every time the user goes to a different page because they have to wait till the page loads.
So my question is:
How can I preload those swf movies on the back of the file while the user is still on the home page or viewing another page? That way, when the user goes to the gallery (for example), it will load inmediatly.

thanks! I hope someone can help because my client is not very happy with the loading waiting time!!

View Replies !    View Related
How To Load Multiple .swf
need someone help!!

now i doing the full flash website, i using many .swf and using main.swf to call all the .swf.

main.swf to call product.swf.

on the product page got many thumnail to call out a.swf at left hand site of product page. But can't show out the a.swf??

i'll attach the zip and the url: dev.geniohq.com/aldo

Hope anyone can help me!!!

View Replies !    View Related
Load Multiple SWF Into MCL
Hi.

Need some help...

I have a MCL that is loading a large swf file with a preloader...

The problem I am having is this SWF is large and to load this SWF will take too long LIVE...

If i break the SWF file into individual swf files, 25 in all (each is an individual image with a simple tween of fade in and fade out. ) What would be the best way to load multiple SWFs into a MCL in succession and then replay once it has gone through the entire rotation.

current code reads for the large SWF load. I am not sure how to load 5 swfs, one afte another.

thanks
----------







Attach Code

var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();

myMCL.addListener(myListener);

myListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
var loaded:Number = Math.round((bytesLoaded/bytesTotal) * 100);
progressBar.gotoAndStop(loaded);
}

myListener.onLoadInit = function (target_mc:MovieClip) {
progressBar._visible = false;
}

myListener.onLoadStart = function (target_mc:MovieClip) {
progressBar._visible = true;
}

myMCL.loadClip("fade.swf", "container");

View Replies !    View Related
Load Multiple Jpg's From Xml Doc
Hi! Can anyone tell me how I can load multiple jpgs into a flash movie from a xml document? I need to create a movie clip on the fly.. well, this I have managed, but lets say I have 5 images I want to display from a xml doc at different positions in the movie at the same time. To create this I do a for-loop on all the images in the xml file and get the image file paths, then I create an unique filename (ex. var movieClipName:String = "newFileName" + j (j is the iterator in the for-loop), then I create a new movieclip (ex. _root.createEmptyMovieClip(movieClipName, j);

...here the problem starts.. you see, now I want to position the new movieClip. Ideally I would see this work: _root.movieClipName._x = 40 * j;
_root.movieClipName._y = 40 * j;
loadMovie(path, movieClipName);
...but this doesnt work. I cant find ANY way to position the new movie clip.

Does this make any sense? ANY IDEAS?

Regards, Tommy

View Replies !    View Related
Load Multiple Jpg's From Xml Doc
Hi! Can anyone tell me how I can load multiple jpgs into a flash movie from a xml document? I need to create a movie clip on the fly.. well, this I have managed, but lets say I have 5 images I want to display from a xml doc at different positions in the movie at the same time. To create this I do a for-loop on all the images in the xml file and get the image file paths, then I create an unique filename (ex. var movieClipName:String = "newFileName" + j (j is the iterator in the for-loop), then I create a new movieclip (ex. _root.createEmptyMovieClip(movieClipName, j);

...here the problem starts.. you see, now I want to position the new movieClip. Ideally I would see this work: _root.movieClipName._x = 40 * j;
_root.movieClipName._y = 40 * j;
loadMovie(path, movieClipName);
...but this doesnt work. I cant find ANY way to position the new movie clip.

Does this make any sense? ANY IDEAS?

Regards, Tommy

View Replies !    View Related
Multiple Movie Preloader
I am using a PC and it has terrible RAM allocation. I have a presentation that had to be created on 3 seperate FLA's because there is not enough RAM (I have a GIG) to work with all three parts on 1 file. I successfully got all three movies to play consecutively, but there is loading time in between each movie. Can anyone tell me how to create either a preloader or what the action script would be to make each SWF load while the previouse one is playing? Keep in mind that this is 3 consecutive SWF files. I'm basically trying to get rid of the gaps between them.

View Replies !    View Related
Multiple Movies & One Preloader
hi, i made this http://www.bodyflair.nl/test/loader3.fla preloader and now I want to load multiple movies that i'll be using throughout my site, so that visitors only wait once for all movies 2 load. And I want the preloader to show the progress. How do do this?

View Replies !    View Related
1 Preloader For Multiple Scenes
hi,

I'm trying to make a movie with an option to choose between the intro page or going directly to the website. I have 3 scenes :
1. opening page
2. intro
3. website
Is it possible to make one preloader on the opening page that will load either both scenes or else only the website? How can this best be done?

Thnx

View Replies !    View Related
Preloader With Multiple Scenes
I am having some trouble with my preloader since I added more scenes.
Is there anything in this tutorial I could change that would still check total kb loaded but also make sure last frame of last scene is loaded before it plays?

Now it loads scene 1 and about 30 or 40% of the movie and gets hung up in later scenes. This is the tutorial I used. http://www.flashkit.com/tutorials/Ac...89/index.shtml

Mark

View Replies !    View Related
Preloader With Multiple Scenes
I am having some trouble with my preloader since I added more scenes.
Is there anything in this tutorial I could change that would still check total kb loaded but also make sure last frame of last scene is loaded before it plays?

Now it loads scene 1 and about 30 or 40% of the movie and gets hung up in later scenes. This is the tutorial I used. http://www.flashkit.com/tutorials/Ac...89/index.shtml

Mark

View Replies !    View Related
One Preloader File For Multiple Swf
My problem is, In each swf file i have used preloader. and preloader is essential for each file. is there any technique to use one preloader file for multiple swf files. which will reduce disk space and time.

View Replies !    View Related
Multiple Scene Preloader
Can anyone please help/guide me in making a multiple scene preloader? I currently have a movie with 7 scenes. I would like a preloader at the beginning that will preaload all 7 scenes before it begins to play scene 1. Any help would greatly be appreciated.

View Replies !    View Related
Another Multiple SWF Preloader Problem
Hey Guys,

I wrote a letter to my Flash Developer friend, Noel Davey, asking him A Question about multiple preloading in Flash. He responded, but I don't know how to go about implementing the code for his suggestion. Can any of you kind folks out there give a clue? Here is how the correspondence went:

From Me:

... However, I'm working on a new project now, and I'm having the same problem(s) with the preloader.

See, the whole thing is...I'm using very small SWF MC created in Swish. For the text effects. My main file in this project is called intro.swf(approx 548KB). The first file you see online is called begin.swf(approx 10KB) which loads intro.swf on level 10.

Intro.swf loads the pitches (4 seperate SWF MCs) on levels 5,6,7, & 8 respectively, as well as the safety tips SWF file (approx 30KB) on level 3. They are all each approxiametly 14-20KB large. Relatively tiny files. I'm trying to load them below my main level (intro.swf), so the user can't see them.

By the time the preloader for intro.swf begins its supposed to call safety.swf on level 45, so it can be seen, and runs while the intro.swf is loading. Something for the viewer to see. However, this is not happening for some reason I don't know. No matter what level I try above 10, its not viewing. When I call each pitch.swf file on levels 11,12,13, & 14 respectively, their supposed to come up quickly without any hesitation, because they already were loaded at the beginning of intro.swf (level 10) previously. On the T1 connection at my job they show fine, but I'm not sure if the safety pitch is being seen.

Is there a way I can pre-load all the smalle swfs I need before or during I load intro.swf? This is my problem. Can you help me with that?

His Response was:

Hey Marc,

He is the way i think you can do it.this is the idea ok
You create a Movie Clip load in each swf one at a time and check for when the swf has completly loaded then load the next. Also this movie clip is to be made in visible. This sould buffer all the swf to the users computer and make your project run correctly.
And with the invisable Movie clip the user can not see them.

Hope that gives you an idea...

Regards,


Noel Davey

View Replies !    View Related
Preloader Multiple Swf Files
hello out there,

can anyone tell me how to build a preloader which
loads about 10 movies into one main movie at once.
i also need to show the loading process in with a
loading bar.
i tried this (if u ned a fla file just tell me!):

frame 1:
stop();
this.createEmptyMovieClip ("a", 1010);
this.createEmptyMovieClip ("b", 1005);
this.createEmptyMovieClip ("c", 1001);
this.createEmptyMovieClip ("d", 1004);


a.loadMovie ("a.swf", 1);
b.loadMovie ("b.swf", 2);
c.loadMovie ("c.swf", 3);
d.loadMovie ("d.swf", 4);
this.onEnterFrame = function(){
TotalBytes = a.getBytesTotal()
+b.getBytesTotal()
+c.getBytesTotal()
+d.getBytesTotal();
LoadedBytes = a.getBytesLoaded()
+b.getBytesLoaded()
+c.getBytesLoaded()
+d.getBytesLoaded();
Percent = Math.round(LoadedBytes/TotalBytes*100);
if (LoadedBytes != TotalBytes) {
_level0.progessbar.gotoAndStop (Percent);
}
//progessbar is a movie with 100 frames to show the progress..
if (loadedBytes == TotalBytes && LoadedBytes > 0) {
_level0.nextFrame();
}
}
frame 2:
stop();
loadMovieNum("a.swf", 1);
loadMovieNum("b.swf", 2);
loadMovieNum("c.swf", 3);
loadMovieNum("d.swf", 4);

View Replies !    View Related
Multiple Movies ONE Preloader
I currently have 8 movies that I have created for an online tutorial. Instead of having a preloader in each of the movies, I want to create one main movie that will load the subsequent movies before any of them will play. Therefore having the entire set of movies preloaded so the user will not experience any delays. I am not sure how to achieve this and have been fooling around with loading movies into levels. Can someone help in how to create this preloader??? and what needs to be done to the other movies??? I unserstand I need a stop in the other movies, but how do I play them once they are loaded.

View Replies !    View Related
Multiple Preloader Questions
Hi all, this one is for FLASH 5!

I am sure most of you can answer these q's but 4 some of us it is a mission. I WILL PLACE ALL THESE QUESTIONS AND MORE IN A TUTORIAL 4 BEGINERS ONCE MY PROJECT IS FIN AND I WILL GIVE CREDITS TO THOSE WHO HELP ME

I am creating a site but want most of the site contained in a single swf file and have some questions below...

1) I would like each scene to load only when there is a user action (like hitting a button), so that the scenes flow smoothly, how do i do this ???

2) I want different preloaders for every scene so that they match their topic, can i use different preloaders, if so how ???

3) My movie is 750px x 500px, how do i preload a scene or external
swf into an area on the stage ie. 200px x 200px ???

4) If the user would like to go back to a page/scene they've been before will it have to load it again ???

THANKS EVERYONE

P>O>O>O>
>R>T>C>L

View Replies !    View Related
Multiple Preloader Challenge
Hi,

I have an ecard that has two load two external .swf that contain audio. 1.swf and 2.swf

there are about 700 .swf audio files, so I have to use a text file using variables to sort out which is going to be used.

The ecard includes 4 scenes

1.) Preloader
2.) Ecard
3.) 1 (this is where I want to load 1.swf)
4.) 2 (this is where I want to load 2.swf)

The preloader is giving me problems because I cant load the 1.swf or the 2.swf.

these are the frames...

frame 1)
loadVariablesNum ("variables.txt", 0);

frame 2 frame is called preloader1start)
1text = 1;
loadMovie (1+".swf", loadtarget1);
wscale = bar._width /100;
totalbytes = -1;

frame3)
if (loadtarget1.getBytesTotal() == totalbytes) {
percentloaded = Math.floor(loadtarget1.getBytesLoaded() / totalbytes * 100);
pload = percentloaded ;
bar._width = "percentloaded * wscale";
if (percentloaded == 100) {
gotoAndPlay ("preloader2start");
}
}
totalbytes = loadtarget1.getBytesTotal();

frame4)
gotoAndPlay ("preloader1start");

frame5 frame is called preloader2start)
2text = 2;
loadMovie (2+".swf", loadtarget2);
wscale = bar._width /100;
totalbytes = -1;

frame5)
if (loadtarget2.getBytesTotal() ==totalbytes) {
percentloaded = Math.floor(loadtarget2.getBytesLoaded() / totalbytes * 100);
pload = percentloaded ;
bar._width = "percentloaded * wscale";
if (percentloaded == 100) {
gotoAndPlay ("preloaderloop");
}
}
totalbytes = loadtarget2.getBytesTotal();

frame6)
gotoAndPlay ("preloader2start");

frame7)
framesLoaded = _framesLoaded;
totalFrames = _totalFrames;
pload = Math.round((framesLoaded/totalFrames)*100);
bar._xscale = pload;

frame8)
if (framesLoaded==totalFrames) {
gotoAndPlay ("ecard", 1);
} else {
gotoAndPlay ("preloader loop");
}

************************************************** ***********
what happens is that it loads the first one but does not move onto frame5(preloaderstart2),

but strangely it still preloads the ecard...

so does anyone know how to move onto preloaderstart2?

************************************************** ***********

also the way I load the .swf may be a problem...although if I try to load it in scene 3, it works.

1text = 1;
loadMovie (1+".swf", loadtarget1);

so if anyone can tell me how to do this....it would really help

************************************************** **********

Thanks for reading this if not for your advice.

View Replies !    View Related
Preloader For Multiple Movies
I want to load multiple movies in stages or intervals (each user click loads a separate movie), and once all the movies are loaded, the final movie in the sequence will be loaded. This will all be run locally - not over the Net. The movies to check for status are loaded on level 2. What is the best way to do this? Would a preloader structure still be applicable? I am not sure how to do this w/ getBytesLoaded, the different levels, etc.

Any help would be greatly appreciated!
Abell1973

View Replies !    View Related
One Preloader With Multiple Files
Hello

Just wondering if its possible to have a preloader in a separate swf file and play it in the a main movie while another movie is loading. Blimey, did that make sence?

Let me try explaining again, with a structure:

--Main movie.swf
|--preloader.swf
|--section1.swf
|--section2.swf
|--section3.swf


Sections 1-3 will be loaded into the main movie (using Loadmovie). I would like to use the preloader.swf to play whilst the sections are loading, instead of having a preloader for each of the sections.

I hope that makes sence now.

Is it also possible to have a detailed preloader (ie with a progress bar) using that technique

Cheers

Neel

View Replies !    View Related
Multiple Movie Preloader
HELP! I am getting very confused on how to do this - I do not have much training in action script, and every example I have found on a preloader for a presentation with several seperate swf's has been different.
I have a main preloader scene, I want it to load my eight seperate swf files, and when the user presses "continue" to have the eight scenes run seamlessly together. I think I need to load these files into empty movie clips...I have tried but I have not had any luck.

View Replies !    View Related
Preloader / Multiple Swf In One Window
I am working on the flash project with a multiple sfw documents integrated in one graphic enviroment (just like multiple frames in HTML web site).

So the problem is: How can I make a preloader which can work for all swf documents in my site window?

Hope you got the point. For the better picture here's the link to that web site.

http://www.djkula.com/flash/flash.htm

PS - It's still working version.

PLEEZ HELP

View Replies !    View Related
One Preloader For Multiple Movies
Is it possible to use one preloader for simultaneously movie downloads within a flash file.....any tips on coding would be great...thanks so much......

View Replies !    View Related
Multiple Clips Using Same Preloader?
i'm working on a portfolio site and have lots of little "preview movie clips" that load on demand with buttons. previously i included a preloader into the preview clip itself, but the preloader won't show up til %80 done. so i need to use an external preloader.

BUT, to keep things simple, is there a way i can script my buttons to use the same external preloader to load each of the preview movie clips when a button is pushed? (in other words, Click button 1: preload.swf starts to load "preview1.swf" Click button 2: preload.swf starts to load "preview2.swf" , etc.)

thanks for any help.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved