Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preload problem 2

Status
Not open for further replies.

Jennyucf

Instructor
Jun 22, 2001
215
US
Hi, there

A newbie question on preloader..
Do you know if I can make a flash movie preloader, meaning there is already a 5 second movie, and I want it to be there when it's preloading....

Thanks a lot!

Jenny
 
Can you explain a little more?
Don't quite get what you mean. Regards,

oldman3.gif
 
hey...guess you are ready for vacation..:)

My flash movie (swf) is about 7mb. We use Ethenet here. I am not sure how much time it will take for people to load the movie. I already have a loading movie, which takes 5 seconds to play. My concern is that: If the loading time is less than 5 seconds, what should I do?

Again, many thanks!!!!!!!
 
Still confused! And leaving in 24 hours...

Do you want to play this "loading movie", even if the whole movie if finished preloading before the 5 seconds is over?

Any code on this "loading movie"?
Regards,

oldman3.gif
 
Can you tell me if the preloader is necessary here, for a 7 mb movie and the Intranet?

Yes, what you said is exactly what I want to do...I am not sure about the coding on this loading movie...Do you have any idea?

The past two weeks is like total flash immersion for me..without your help, I won't get it done..Thank you!

Jenny
 
Not familiar with intranets. Isn't it basically the same thing as if this movie was played from each machine locally. Then you wouldn't need a preloader.

If you do, and this movie holds components and or export on the first frame stuff (Linkage), then a regular preloader will not display properly. You would need to create a new preloader movie, which would only preload your existing movie (without it's own preloader), and then be replaced by your original movie.

Run a test from another machine on the intranet to see if it does stream without breaks. If there are breaks in the playing then I guess you would need a preloader. Regards,

oldman3.gif
 
I guess you are right. I just tested in another machine and it didn't seem to show up the first frame until after a few seconds... Seems I do need a preloader!

Thank you. Have a wonderful wonderful vacation! [thumbsup2]
 
If you want to try out my version of such a preloader, I have posted a copy here, but not sure if that was the latest version of it. Check this to download the latest version on FK:


It's a 1 frame deal and well commented, you should be able to use it pretty easily, based on the reactions of most other users that have tried it.

I'll still be around till later tonight... Regards,

oldman3.gif
 
Hey..Thanks for the link!!! I downloaded the file and tried it. It seemed that after I published it into html, it didn't work...do you know what could be the reason?
 
That fla is very big..like 100 mb...
I followed your instruction and replaced the sound.swf with my movie, and leave the first frame blank key frame. Do I have to do anything else?

..have to get it done in two hours...

Thank you!!!
 
The preloader movie itself is not more than a few hundred bytes... That's the .fla I want to see, not the movie's .fla you're loading into it! Regards,

oldman3.gif
 
Code seems ok! What's happening? You see nothing? Mind you if testing this locally, you shouldn't see anything! Have you uploaded your "esso" .swf somewhere, and used that uploaded url in the preload movie (making sure your cache is cleared each time), rather than testing this with the file that lies on your machine?

Other than that, and not knowing what you're seeing or not, and unless there's something on the first few frames of that movie that would interfere, I can't see what's going wrong.

I have to go out for a few hours, will check back when I return, but that may be too late for you? Regards,

oldman3.gif
 
Hi, good that the code is fine. I hope it's just a minor problem..I will keep trying...

By the way, how can I make sure the cache is cleared each time?

All the best!
Jenny
 
You empty it dear! If IE, under tools->internet options-> delete temporary internet files. Regards,

oldman3.gif
 
I see... I didnot know that's called "clear the cache.." [blush]

Have a great holiday!!!

Jenny
 
Hi, Guess now you are on your way to Caribbean..:)
I kept trying on the other machines...and it didn't seem to show up...then I downloaded some other code and it worked. The whole movie took only less than a second to load. I noticed that in flash, there are so many different ways to achieve the same effect. Maybe that's why it attracts many people. I am now working in the area of web development...I feel that the top ones are always good at coding..it's more like a computer major, rather than just a software application...Just a thought..

Your vacation starts, and my project is wrapping up too...hope you have a great time!

Always grateful

Jenny
 
Curious as to why it didn't seem to work? I'll have to take your word for it! Of course I couldn't really test it in your conditions, but if I had had access to your file, I would of gotten it to work. Maybe when I come back! [shadeshappy]

Only fly (Yes! No problem with that!) around 8:00pm tonight... Will leave home much earlier then that, but won't be around your latitude before 1:00am! Regards,

oldman3.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top