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




How Do I Make A Preloader For My Movies?



I know the tweens, the sounds, the movie controls and all that jazz, but I have no clue how to make a preloader. Is this a simple task or does it require a lot of work? I would like to know just how to syncronise the loading animation with the progress, and also if there are any templates on this site (I can't find any). Thanks for the help.



FlashKit > Flash Help > Flash Newbies
Posted on: 03-30-2004, 08:09 PM


View Complete Forum Thread with Replies

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

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.

How Do I Make A Fast And Easy Preloader Or A Hard Cool Looking Preloader
how do i make a preloader?? ive went thru many toutorials and they dont make sense to me i want a cool looking preloader if i can but if not!! a preloader that is jest flashing the words "loading" would be nice to know how to make....
im kinda new to flash MX and all Flash programs so could u explain verry well???

Preloader Not Showing In The Beginning? Did I Make The Preloader Wrong?
alright, it seems that my preloader does not show until the movie is about 85% loaded, and then after that it works fine. but how do i get the preloader to show from the begining? here is the site...

http://www.trikenit.com/6n/preloader.html

and here is the fla for the preloader

http://www.trikenit.com/6n/preloader.fla

if anyone could help me out with my preloader i would be so very grateful. thank you in advance.

How Do I Make Movies?
i have seen tonnes of sites that give very good tutorials about making red boxes move around screens and stuff, but how do i make that knowledge into something like www.homestarrunner.com ? their movies and stuff are my inspiration to learn flash, but for the life of me i cannot find a place to learn how to make such cartoons. please help me!

-Jimbo

Where Do I Go To Make Movies?
PHP Code:



x




please tel me

How/ Where Do You Make Movies
I JUST STARTED, AND I'M LOST. CAN'T FIND 1 THING. WHERE CAN I MAKE MOVIES

How Do U Make Movies
Well i need the step by step info on how to make movies like the stop the play the pause the scene selects and more i need help on thoes things. My freind told me but i did not get it i need all info on flash 8. OK

How Can I Make A Second Preloader Play If A File Is In The 1st Preloader?
OK I'm going to try to explain this

I have a preloader on my main movie to preload external files. This preloader preloads the external files and places them into a empty movie clip.

What I would like to do is have 2 preloaders if the 1st preloader was used, I would like the second preloader to be used there on after.

I'll try to explain what is happening I have 3 buttons to load 3 external files on a blank MC if a external file is present on the MC I what to use a second preloader. I need to use a second preloader because the first preloader is a progress bar that goes across the whole MC. If a external file is on the main I want to use a smaller progress bar.

If you have any suggestions I would appreciate your help

Thanks

How Do I Get Flash Kit So I Can Make Movies?
can som1 plz help me?? where do i download flash player?? i cant find it. plz send me a link or somthing

How Do I Make Flash Movies?
yes im new to flash, and i dont know how to make like, animated movies and such

Make Two Movies Work Together
How do you make two movies on the same site talk together ? is it an easy way, or is it done with the flash movies having a "listener" to e.g. an asp page ?

Example:

http://kunde.apt.no/bates/live/golf/

I'm The New Smallfry 1 Question How Do U Make Movies
hey i got one major wuestion how am i able to even create a flash movie thaz it

How Do I Make Scrollboxes Work Within Movies.
Ok so here is my site www.stackhaus.com and you can see the three boxes. In the left box I have now used two scrolling text boxes, and they work in their own respective .fla files but the minute I paste the frames from those files into this movie, they appear but they do not scroll. Why is this?! Thanks for any help!

How Can I Make My Movies Password Protected
Will someone tell me how can i give a password protection to my .swf files.

I mean that when someone open my flash movies a window popups and ask him to Enter the Password.. And when he enters it correctly the movie will start..

I hope some one may help me

How Make IN And OUT Transitions Between Flash Movies?
Hi guys!

Here is the thing: usually, I build my web-sites using a root swf movie which loads external swf movies using the loadmovie command through navigation buttons. Thus, in order to have a transition (or effect, like a fade-in) in the start of the loaded movie, all that I have to do is put an effect on the beginning of its timeline. When the button loads the external movie, it has an effect on its timeline and the fade-in is presented. This is a no-brainer...

However, letīs say that I will load another movie and, before this one gets loaded I want the first one to fade-out (or any other effect)... How would I make it... I canīt put the effect on the timeline īcause the loadmovie command has to be on the buttons...

I think the best way to do it is apply the effect in the timeline of the container movie (in which the external swf is loaded)... Something like this: Whenever I click on a button, the container movieclip goes to frame x (which has the tweeing effect) and once the tweening is done it loads another movie into the container MovieClip.

Can you guys help me?

Thanks in advance.

Make One Button Call 2 Movies
I have a button that calls a movie with a rewind on it and I need that button to call to movies at the sametime Flashmech came up with these actions and they have worked out quite well.


im trying to get the maximus button to call maximus1 & cmanson1 at the sametime


ActionScript Code:
stop();

function playBack (name:String):Void {
    var mc = this[name];
    if ( mc.played ) {
        mc.played = false;
        mc.onEnterFrame = reverseNow;
    } else {
        mc.played = true;
        mc.onEnterFrame = playNow;
    }
}

function reverseNow (Void):Void {
    this.prevFrame();
    if ( this._currentframe == 1 ) {
        this.stop();
        delete this.onEnterFrame;
    }
}
function playNow (Void):Void {
    this.nextFrame();
    if ( this._currentframe == this._totalframes ) {
        this.stop();
        delete this.onEnterFrame;
    }
}

maximus.onPress = function (Void):Void {
    playBack(this._name + "1");
}

maximus1.played = false;
cmanson1.played = false;

How To Make Two Flash Movies To Communicate?
Hi all.

I have an HTML page with 2 flash movies in it. 1st movie is an FLV, and I want this to play till the end, then to stop and tell the 2nd flash movie located somewhere else on the same page to start playing.

Anybody knows a good and easy tutorial for designers? or maybe can give out an example source file?

Please help!

Thanx in advance

cheers

How Do You Make Duplicated Movies Shoot On Another Movie
I know this is for a game but I hope I could get an answer from you guyz who are good in AS.

I got a duplicated MC from a enemy and i want to be able to make it shoot randomly.

Im a new in AS and im doing this game with tuts from FK but this part isnt metionned.

Could someone help me out please.

Thanks in advance,
Sky

How To Make Movies Load Inside A Scene...
i'm completley lost on how to do an actionscript in scene loader. can you guys help me?

How Do I Make Flash Movies Super Smooth?
I've seen some really smooth animations on the web and I was wondering what I need to do to make my movies animate smoothly too. Do I only need to bump up the framerate? I know scene complexity is something to consider. I guess what I'm looking for are some guidelines to making animations smooth. I have flash MX by the way.

Here's an exampleAEM website

Make Other Movies React To Mouse Hits
teke a look at thia

www.hellborn.com

you can slap the robor around but it doesnt seem right that the buttons around it are still so iv been trying to find ways i can make the buttons move sorta reacting in a way to the speed you hit the robot at.


this is a big ask but can anione help me please.

thanx in advanced

Load Movies Make The Swf Slow Animation
hii
i've created a site in flash of a gallery. its loading swf files of images and animations. i've made it with flash mx and export the swf ver 6. all the animations have a preload and all 24 fps.

the problam. some of the animation play smooth . but some of them play very slow. swf with 50 kb play great and somtime a swf 10k made of vector only play very slow. it happen only when i play it inside the main flash site (load into it). if i play the swf by it self its very smooth and fast.
how can i fix it?

thanks
ari - tintoon -

Make Movies Play Sequentially, Then Stop.
Hey, I've never quite been able to get programming down, but I'm always trying. Can someone tell me what I'm doing wrong here?

I'm using Flash MX.

Basically, I want them to click a button, and one by one leaves will move of the screen. I just want to name the leaves "fallingLeaf1", "fallingLeaf2, "fallingLeaf3" and so forth, and keep going sequentially up the numbers until there are no fallingLeafs left.

Here is the code:


Code:
on (release) {
var i;
i = "0";
var leafMarker;
leafMarker = "leafMarker1";
var frameMarker;
frameMarker = "1";
do {
i = i+1;
leafMarker = "_root.fallingLeaf"+i;
frameMarker = leafMarker._currentframe;
if (frameMarker=2) {
tellTarget (leafMarker) {
gotoAndPlay(2);
}
}
} while (i!=2);
}

Help How Can I Make A Preloader Bar With This Preloader Code?
Hi,

I have external swf's loading into an empty movie clip, I'm using this preloader at the first frame of every external swf.


Code:
stop();
function waitForLoad() {
bytesLoaded = this.getBytesLoaded();
bytesTotal = this.getBytesTotal();
percent = Math.floor(bytesLoaded/bytesTotal * 100);

if (bytesLoaded == bytesTotal && bytesTotal > 4) {
trace("done loading");
delete this.onEnterFrame;
this.gotoAndPlay("fr1");
}
}
this.onEnterFrame = waitForLoad;


I don't have a clue how to make a bar show the loading progress. Is there an easy way I can implement it into this preloader code?

How Do U Make The Percentage Loaded In The Begginin Of Flash Movies
u know the 56% loaded...etc...how do i make one of those? i jsut need a simple one...i mean, really really simple.

Make It Invisible When I Press The Buttons To Load Movies
Iīm making a movie that loads in swf-movies in the main movie. But in the main movie i have a picture (rather big). An when i press the button in tīhe main movie to load a movie in a placeholder i can see the picture in the main movie every time i load a movie. is it any way that i can make it invisible when i press thebuttons to load movies

How Do I Make QuickTime Movies (.mov) To Resize According To The Window Size?
Hi !!

how do I make QuickTime movies (.mov) to resize according to the window size?

for Flash movies its "100%" thingi but I dunno about QuickTime

please help

Thanks

Off topic
I posted this in Random Forum first and someone told me to post here...
so dont get mad at me for posting here

.FLV Files : 1-where Are They On Int Temp Folder ? 2-how To Make Flvs Movies ?
Quote:




1-
My question concerns about the video streaming flash files , extension .flv , which cannot be retrieved directly from the IE7 temporary Internet files ;

Iīve turned that folder head over heel but couldnīt find any .flv file as I am used to scavenge the browser cache and do with other extensions ;

What can be found are very long urls like :
(http://youtube.com/player2.swf?hl=en...utube.com/&vid eo_id=IOd_5ZRPmFs&l=179&t=OEgsToPDskJKFyDOavZ1s58f 8VnMwNU7&soff=1&sk=ZklGzv2kMbUjj_Qrv588rwU ) ;

I noticed that a recently visualized flv by means YOUTUBE , 4 days after visualization , when I got back to that URL was played at once , without the need of downloading it again;

That means the file was already somewhere on my disk.
In order to retrieve the files I have to paste URL at retrieve sites like http://kej.tw/flvretriever/ , or use Orbit Downloader ;
I got really curious where are the files and how work such sites .






Quote:




2- where can I find tutorials on how to make flv movies ??




Thank you very much

How Do I Make QuickTime Movies (.mov) To Resize According To The Window Size?
Hi !!

how do I make QuickTime movies (.mov) to resize according to the window size?

for Flash movies its "100%" thingi but I dunno about QuickTime

please help

Thanks

Off topic
I posted this in Random Forum first and someone told me to post here...
so dont get mad at me for posting here

How Do I Make Lower Level Flash Movies Inactive?
I have a problem,

I am creating a Flash multimedia piece. I have my main stage and various external movie files loaded in on different levels. I want to be able to have 'info' boxes appear on request, which load in another movie file over the top of everything else. The problem is, I don't want the links on the movies below to be active through the 'info' box. Does anyone know a way to make the Flash movies below inactive? Once the 'info' window has been closed I need the inactive links/movies to revert to active.

I hope this makes sense.

wez

Preloader For Several Movies
I have created preloaders before for a movie with several scenes. The question is can I preload several movies using one preloader and if so what would I put in the brackets on after frameloaded? My options in the actions panels are numbers or scenes, but I want to load a new swf file.

Any suggestions?

Taz

Preloader 4 Ext. Movies
Hi,

What is the most suitable method to have a Preloader on both main movie and external movies such as albums inside ?

Regards,
Waj

How To Use The Same Preloader For Different Movies?
Hi!

I am finishing a whole website written in Flash.
However, the movies are loaded in modules, as the user goes clicking the desired option.
Well, I made a preloader mc in a separated movie, intending to use that as a general preloader for all movies.

The problem is that when I try to drag it from its library to the movie where I want to use the preloader, Flash tells me that already there is an object with the same name in the present library (I guess that's because the interpolation). The same problem occurs if I try copy-and-paste the frames.

Someone has any idea about how to detour this?

Preloader With Movies
Hello i'm with a problem with my preloader, and i don't know if it's a bug or if i'm doing something wrong.
the preloader is very simple, it just change a movie clip action while preloading. at 20% one action at 40% other action and so on.. but it only works well till 60%.
well i have attached my fla so please someone check it to understand better my problem and if you can help please let me know.
thanks in advance

Do My Movies Need A Preloader?
I'm trying to make an online portfolio to display some of my work, but I'm having some problems making the site run smoothly. On the work page I have many links to movies which display my work, however, the whole site takes forever to load so when you click on these links while the site is still loading it doesn't work how it should. Anyways, my question is...do I need to create seperate preloaders for these movies to make it run smoothe and if so how do I do that? I only know how to create a preloader at the beginning of my site. I am pretty new to flash, and I might have made a mistake in having all of these movies on the same timeline so the whole site is like 1000 frames long, is that why it takes forever to load? Any help I can get I would really appreciate, here is the address to my site...
http://www.speakeasydesign.net

Preloader With Movies
Hello i'm with a problem with my preloader, and i don't know if it's a bug or if i'm doing something wrong.
the preloader is very simple, it just change a movie clip action while preloading. at 20% one action at 40% other action and so on.. but it only works well till 60%.
well i have attached my fla so please someone check it to understand better my problem and if you can help please let me know.
thanks in advance

Do My Movies Need A Preloader?
I'm trying to make an online portfolio to display some of my work, but I'm having some problems making the site run smoothly. On the work page I have many links to movies which display my work, however, the whole site takes forever to load so when you click on these links while the site is still loading it doesn't work how it should. Anyways, my question is...do I need to create seperate preloaders for these movies to make it run smoothe and if so how do I do that? I only know how to create a preloader at the beginning of my site. I am pretty new to flash, and I might have made a mistake in having all of these movies on the same timeline so the whole site is like 1000 frames long, is that why it takes forever to load? Any help I can get I would really appreciate, here is the address to my site...
http://www.speakeasydesign.net

How To Create Movies Preloader ?
Hi Friends,

I am creating one flash site but i want to know how to creat a Flash Movie preloader movie on for my site.

And would be the action scripts for that ??

Waiting for early reply.

Preloader? Want To Preload ALL Movies At Once-Plz Help :(
I'm still learning actionscript so please bare with me / i'll try to make this as clear as possible:

Here's my problem - my main flash movie loads 3 other seperate movies. so it's only fair i add a preloader.

There is a total of 1 scene (preloader on frames 1-3 then main movie on frames 4-6)
I have actionscripts loading the other 3 movies on frame 4 also.

My preloader only loads the main movie but not the other 3. So the main movie kicks in then the other 3 comes in and drag for a bit until they finally load.

Now I don't want to have seperate preloaders / so is it possible to have my one preloader load ALL the movies?

I've been checking the forum for the past 4 hrs and have only found 1 post similar to mine - which confuses me because I know I'm not the only one having these problems - am i? anyhow - i saw the answer and i just didn't get it...

thanks in advance to anyone who can help!!!!!!!!

Can You Load 2 Movies With One Preloader?
Is it possible to load 2 movies @ once with one preloader? I have my site preloader ...then I load my a my sound movie on top. I was wondering If I could load both @ once and show the total percentage of both combined. Is this making any sense? hehe

One Preloader For Several Movies On Different Levels
hi.

i am trying to load 2 different swfs on 2 different levels. but i don't want one to show before the other one.. so i want it to wait till both movies are loaded before showing them.. meanwhile, i want a "loading" graphic to show while the user is waiting.

i tried checking for _level10._framesloaded but it doesn't work.. when i do this:

loadMovieNum("test.swf", 10);
trace(_level10._framesloaded);

it says "undefined". what should i use instead? if i use _framesloaded in the actual flash file that is being loaded it works fine.. but why can't i check for level10's frameloaded from the level0 movie?

any help is appreciated, thanks,

~jimmy.

Please Help Me With A Preloader For Loading Movies
Frame One is Blank

Frame two has this code

txtPercentage = Math.round((this.getBytesLoaded()/this.getBytesTotal())*100) add "%";
tellTarget ("loader") {
gotoAndPlay (Math.round((this.getBytesLoaded()/this.getBytesTotal())*100));
}


Frame Three

if (this.getBytesLoaded() == this.getBytesTotal()) {
nextScene ();
} else {
gotoAndPlay (2);
}


I want to load a swf with a preloader into my main movie using a button with this code

on (release) {
loadMovieNum ("my.swf", 1);
}

Thank you for your time
montara

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?

Preloader In Loadmovie() - Movies
Hi,

I have made a preloader which works correctly when I put it in a normal single movie.

My website works with 1 movie which load movies with the loadmovie() function everytime someone pushes a button.
see http://users.pandora.be/qic

Now if I put that preloader in the movie which has to be loaded. Some errors occur:

-> it gives the totalbytes of the primary movie
-> it seems that flash first loads the movie without displaying the preloader and when the movie is loaded, the preloader flashes for a second and then the movie starts to play. I have a fast connection at home and at work, so I cannot see it all correctly, but you'll see if you visit the site.

Is there anyone who can give me a decent word about this ??

Thank you in advance,
Luc
qic@yucom.be

Preloader In Loadmovie() - Movies
Hi,

I have made a preloader which works correctly when I put it in a normal single movie.

My website works with 1 movie which load movies with the loadmovie() function everytime someone pushes a button.
see http://users.pandora.be/qic

Now if I put that preloader in the movie which has to be loaded. Some errors occur:

-> it gives the totalbytes of the primary movie
-> it seems that flash first loads the movie without displaying the preloader and when the movie is loaded, the preloader flashes for a second and then the movie starts to play. I have a fast connection at home and at work, so I cannot see it all correctly, but you'll see if you visit the site.

Is there anyone who can give me a decent word about this ??

Thank you in advance,
Luc
qic@yucom.be

Adv Preloader For Loaded Movies..
I have a short animation and I made it all in scenes..

eg


scene1.swf
scene2.swf
scene3.swf
scene4.swf
scene5.swf

And I have an index to the movie where on my timeline I load each scene into the a target..

I want a preloader on it because scene 4 has a jpeg in it but its only 14 frame long their fore and at 12 fps its not on the page very long.. lets say.. 4seconds. however for a 56k to download the swf file it will take about say 16seconds so they have to watch the moive like 4 times before scene4 loads..

and thats just not good..

Ive no idea bout preloader really other then..

Not actual Syntax:


Quote:




if frame[bla is loaded]
goto and play 'frame 1'






Any Idea on how to go about this.. ruling out trying to import all the scene into on movie.. becuase each scene has sounds+ some of them have the same Symbol's in witch are differnt in each movie so..

Thanks alot if you can help

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.

Preloader With Loading Movies
hello all.

I'm trying to make a preloader. But because I have movie loading on my fisrt frame i'm having difficulties. In my main movie i have two scenes. the first is my preloader and the second is just a blank frame with script that loads 7 more movies into levels one through seven. How do I get my preloader to work so that it doesn't move to scene 2 until all seven movies are loaded into their levels?

thanks
amy

Preloader For Loaded Swf Movies
Help! I'm making my site using flash. It consits of many swfs loaded in a main swf. I created a preloader for the site, but it doesn't wait for the movies to load. What should I do???

Kartik

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