What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Loading flash movie at the end , how ?


NemesisWorks

Banned
Messages
822
Likes
208
Hi how to load a flash movie when the html page has totally loaded ? the movie plays at the start.

have a look at my example site :

www.mobilespot.tk

but when it's open completely once refresh it, it will work fine next time.
 
The movie plays at the end for me.

This will be largely connection speed dependant.
I have a really large cable connection so the page graphics/content load immediately for me, while the flash movie takes just a bit longer.

I think to have any real control of the movie playing, you'll need to use a Script to force the movie to wait until the page is fully loaded before downloading. This can generally be controlled through a standard "setTimeOut()" function.

Add up the amount of file size your graphics and html content are, then divide that by 5 (56k modem speed). The amount of second you get from that division will be the time you use to control the setTimeOut function.

The function will be contained within your HEAD tags.

If you're not familiar with scritping, you can also just add empty frames to the start of your movie (where the main graphic is then static or there's no graphic visible at all), that add up to the amount of seconds in download time your page will take to load for a 56k modem user (the division number you got above).

These are the initial methods i'd try using.
Hope that helps.
Any question just ask.
 
Thanx for your help keeper , im not too advance in scripting. the second method is cool but this will annoy cable and T3 users i guess. anyway suppose my site contents are 200 kb then how many empty frames should I add at the begining ? + any sugession on the template or header design ? \:]
 
200 / 5 = 40

So 40 seconds is your target timeframe for a 56k user to download the page. That's a long time btw. You sure you can't knock that down a little?

If your movie is 18 fr/sec, then the math would be: 18x40, which = 720 frames. And seince that's a WHOLE lota frames, you may well just want to create a new blank movie for that and in the 720th frame add an Action script command that will load you main movie.

In this type of situation there is no complete way to satisfy all your visitors. You'll simply have to figure out/decide which connection speed the bulk of your visitors will be using and cater to that crowd. That's generally the way the Web works.

As for the design/header i think it's fine. I don't usually partake in giving 'artistic' advice on stuff like that, because it's a personal preference subject. 'Technically' i don't see anything wrong with the design. :B
 
thanx for help keeper i'll leave the flash movie as it is for now, and will try to complete the site first. :)
 

Back
Top