• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 350
  • Last Modified:

preload a html page while flash movie is playing

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
Sankar030999
Asked:
Sankar030999
  • 4
  • 3
1 Solution
 
COBOLdinosaurCommented:
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
 
Sankar030999Author Commented:
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
 
COBOLdinosaurCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Sankar030999Author Commented:
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
 
COBOLdinosaurCommented:
You have the framseset in a seperate page and that is what you are loading; right?

Cd&
0
 
Sankar030999Author Commented:
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
 
COBOLdinosaurCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now