Preloading Flash using JavaScript

They have: 100 posts

Joined: Sep 1999

What I want to do is have my index page preload a flash movie into the cache in the background so that when the visitor goes to the flash page it is already downloaded.

I AM NOT talking about making a short flash preload movie that plays while the rest of the movie loads.

I can easily do this with a .jpg or .gif image using Dreamweaver (I'm not a real good coder). For instance if I preload a huge 500k .jpg from the very light index page it's ready when the user clicks on the next page.

What I tried to do was alter the Dreamweaver code for Object instead of Image but I failed. I bet there is an easy way to do this but as I said I'm not a great coder.

They have: 12 posts

Joined: Oct 2000

Hi Doren,

if you wanted to load a jpg on page 1, ready for use on page 2
you would add it to page 1 as a '1 x 1 pixel image' like this:

I've never used flash but just try adding something like:

(or whatever the flash equivalent is.) to page 1

Hugh

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.