PDA

View Full Version : Way to skip intro page the 2nd time?


spinweb
12-03-2002, 06:44 PM
Hi All,

I have a Flash site with a splash page which is very basic. It just notes the required stuff for viewing.

OK. Currently, I have a cookie generating JavaScript that determines the number of times a user has been to the site. My stragegy was to test the appropriate variable and if it's > 1, to send the user right on to the site after their first visit.

The only problem is that all subsequent visits after the first time see a yellow page flash before the site's blue background. Is there a way to test and redirect without the user seeing this abrupt change when hitting my site?

Thanks for your ideas in advance.
Rick

Vladdy
12-03-2002, 07:19 PM
:D :D I do not think you would have much of a problem as is - most visitors do not come back to a site with flash intro, splash pages... :D :D

Membie
12-03-2002, 07:33 PM
[off topic] Vladdy, pleassssssse do me a big favor, cut this... (http://www.codingforums.com/showthread.php?threadid=10329) and the above kind of crap or keep your mouth shut if you don't have anything more constructive to say! :mad:
I do not think / believe anyone is interested in your poor (flash-)references...[/off topic]

Sorry... back to this topic I hope / I wish I could help, I'm curious for

;)

chrismiceli
12-03-2002, 10:46 PM
vladdy can express his opinion, it is a forum, not just people helping others people's code.
to the topic, you could put an intro page, and before it loads the page, like onLoad with the body, check the cookie.
p.s. i don't prefer flash that much, but it can be a nice effect if done well while taking up little bandwidth.

Beck
12-04-2002, 08:19 AM
I think chrismiceli is in the right direction. Use cookies to check if the visitor has already been there, and if not, open a popup window to cover the one with the flash animation. Any link the user clicks on that page could close that page and trickle down into the opener and trigger the appropriate link.

After that, if the cookie detects a previous encounter, spare them the loading time and review, just don't open the poppup.

You could work with some variance of the above concepts, but it's hard to say since I'm not sure what purpose your flash animations is.

Good luck!

JohnKrutsch
12-04-2002, 05:29 PM
Post your code. Depending on the order you are doing things you can avoid this. Let us see what you are doing so we can more fully advise.

CitznFish
12-04-2002, 06:48 PM
Flash can detect if a movie is already loaded and skip it. http://disney.go.com does this. The first time you visit you get the splash movie, the rest of the time (assuming you haven't cleared your cache) you get taken directly to the landing page. Check out flashkit.com for info on this. I have an example, but it's proprietary and I cannot share it. You can get a similar sample at flashkit.com