Solved

preload a html page while flash movie is playing

Posted on 2002-04-16
7
314 Views
Last Modified: 2012-06-22
I have a flash intro movie in the first page of my site. I then proceed to my home page after the movie plays fully. the problem is that my homepage along with the images etc is quite big and it takes sometime to load after the movie gets finished. is it possible to preload my homepage while the flash movie is being played.

Also wat happens now is that the flash movie starts looping and plays a few framse before proceding to the next page even though i have set it to noloop. i need to avoid it.

how can i do this. Thanks
0
Comment
Question by:Sankar030999
  • 4
  • 3
7 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6946114
Put the intro page in a frameset with the main home page in a hidden frame.  When you go to the home page everything for it will already be in cache.

Cd&
0
 

Author Comment

by:Sankar030999
ID: 6948752
Could you give me some sample html code how to do this invisible frame stuff. Right now i have two html pages...intro.html (the one with the flash intro) and main.html (the main page)

how do i setup the frames.

Thanks
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 100 total points
ID: 6948890
okay here is a frameset with a hidden frame:

<html>
<head>
   <title> frameset def </title>
</HEAD>
< frameset frameborder="0" framewidth="0" border="0" rows="0,*">
      <frame src="main.htm" name="main">
      <frame src="intro.htm" name="intro">
</frameset>
</html>

The first frame is hidden because of the rows property on the framset tag.  But the browser will still load everything in main.htm and cache it, so when the intro completes and goes to main, everything for it is already in the cache of the client computer, and will load much more quickly.

Cd&
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:Sankar030999
ID: 6954552
i tried the above code...but i just get the main page directly. i dont get intro page at all... i tried switching the pages in the frame src, but the same result. what might be the problem

Thanks
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6954620
You have the framseset in a seperate page and that is what you are loading; right?

Cd&
0
 

Author Comment

by:Sankar030999
ID: 6954847
i just copied the code that you gave me as a separate html page and then specified the names of two html pages that i have in the frame src tag.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6954872
Do you have alink where I can see what it is doing, because you you load that frameset page, what you shuld see is the intro, not main.

Cd&
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now