Flash Age Gate
This is a simple flash piece that prompts users for their birth date. If they are under the age of 17, a sharedobject (Flash’s cookie object) is written and will not allow them into the page– redirecting them to a URL or page? specified. If they are of age to view the content, they will be taken to the main page. This can be customized further to change the age, pages, styles, etc. To further protect content, you can go as far as adding some sharedobject detection code into your final flash/page just in case someone tries to send that link to friends or try to bookmark it.? This is really meant for flash sites who are monitored by organizations such as COPPA and ESRB. Have fun with it!
Check out the demo or download source? (Flash
!
Tip for WinXP users: Sharedobjects are typically found under C:\Documents and Settings\YOURUSERNAME\application Data\Macromedia\Flash Player\#SharedObjects
// Jacob





November 30th, 2008 at 11:28 am
Thanks for this
December 16th, 2008 at 3:30 pm
Nice demo, but, Why is it off by 6 days?
cheers.
January 14th, 2009 at 2:01 pm
WARNING. This does not work.
January 15th, 2009 at 12:02 am
Thanks for the heads up on the offset issue, I’ll look into and get it fixed.
February 8th, 2009 at 8:06 pm
anyone looking for an as3 agegate should see http://evolve.reintroducing.com/2008/08/06/as3/as3-agechecker/