Skip Intro after first visit - Page 1

User 1681623 Photo


Registered User
24 posts

The flash intro I developed http://www.obergfilters.com is OK for the first time visitor but after they have seen it once I want them to go directly to the main page (second visit). I have a [Skip Intro} link that works, but I don't want the users to be bothered after they have seen the intro once. This is possible in competitors products using Action Scripts, but I like CoffeeCup!!
I am using FireStarter version 7.2 on XP
Tell me how I can implement this in my flash files, please.
User 364143 Photo


Guest
5,410 posts

No. You have to have the ability to read and write to a cookie on the user PC to verify if visited before or not.
CoffeeCup... Yeah, they are the best!
User 37670 Photo


Registered User
2,138 posts

If visitors really want your product, they will press the 'skip intro' and get to the page..but I do see your point. I suggest creating a direct "bookmark this page" from your main website page (just after the intro). Many web users do that anyway. Then when they want to visit your site from the bookmark, they don't get the flash page.

http://www.dynamicdrive.com/dynamicindex9/addbook.htm
E-Learning Specialist
www.mainsites.ca is my website, and yes, some of it is crappy.
User 1681623 Photo


Registered User
24 posts

Easy fix. Here's what I did. Replaced index.html with index.php. Here it is in it's entirety (file names changed):
============
<?php
if (isset($_COOKIE['cookiename'])) {
header( 'Location: http://www.mysite.com/main.html' ) ;
}
else {
setcookie("cookiename",TRUE,time()+2592000);
header( 'Location: http://www.mysite.com/index.html' ) ;
}
?>
===============
Just a change to the .htaccess file and it works like a champ! If the cookie doesn't exist it gets created and the flash file is executed. If the cookie DOES exit, but is over 30 days (2,592,000 milliseconds) then run the flash file. Otherwise, go straight to the web site. This is a simple, if a bit kludgy, fix for something that should be included in the CoffeeCup Flashstarter application. Hope they put that on the fix list.
User 364143 Photo


Guest
5,410 posts

You can also have it play only once per browser session instead of a set time limit. When the brower is closed, the cookie is deleted.
CoffeeCup... Yeah, they are the best!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.