Loading in the background...

They have: 7 posts

Joined: Nov 1999

So, as some of you might have picked up, I do some flash design . I've come into a problem that I'm hoping can be solved by some of the brilliant minds around here. I've got an intro page (index.html) with a shockwave file (intro.swf) on it. It loads, the intro plays. Great. BUT, I don't want the users to wait AGAIN for the main site to load! (demo2.swf on demo2.html). So, I need demo2.swf to load in the background during that inactivity mode where they're just watching this intro. I've come up with a *decent* way to do it in Flash, but it's far from perfect, and in certain circumstances, it just plain doesn't work. I'm hoping maybe there's some sort of javascript method I can use to load this in the background. Anyone got any suggestions? Thanks in advance!

_/ Drew /_

They have: 222 posts

Joined: Sep 1999

Theres a JavaScript method/functions/whatever that pre-loads images...You might be able to tweak that to load a shockwave file. I e-mail John Pollock (www.PageResource.com) to post it on his site, but he hasn't replied yet (it's only been a day though.) So, hopefully he'll post that in the JavaScript tutorials section of his page.

------------------
-Ianhttp://members.antionline.com/cst/

They have: 5,633 posts

Joined: Jan 1970

You could use a hidden frame.

------------------
http://go.to/hass

They have: 7 posts

Joined: Nov 1999

The hidden frame seemed like a good idea, except the flash file has sound in it, so you'd hear it! Also, it would probably be killing twice the processor power, as I guess the shockwave player would continue to work, not knowing it was hidden.

They have: 222 posts

Joined: Sep 1999

Here's John Pollock's reply to my request that a preload function be places on PageResource.com:

>Hi Ian:
>
>Thanks for the tip. I'll see about making >one like that on its own. If
>anyone needs it in the meantime, it can be >taken from the first part of
>my
>rollover tutorial at:
>http://www.pageresource.com/jscript/jhover.h>tm
>
>Sincerely,
>
>John Pollock
>The Web Design Resource
>http://www.pageresource.com
>http://www.javascriptcity.com

------------------
Ian
http://members.antionline.com/cst/

They have: 7 posts

Joined: Nov 1999

Thanks a lot, Ian ... not sure that will handle it, but it's worth a shot. Still open for more suggestions if anyone's got 'em!

_/ drew /_

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.