Solved

Setting a cookie to make my flash project run only once.

Posted on 2008-06-10
2
119 Views
Last Modified: 2010-04-25
I have made a flash project and I'm trying to make a cookie that will only run when you enter the website. I don't want it to run again when you return to the home page. I'm all new at this and really have no idea.
0
Comment
Question by:publishingame
  • 2
2 Comments
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 250 total points
ID: 21776042
I am not a Flash expert but if you want a solution in Flash then look at a Shared Object.  There is info on this, including info on making, writing, and reading them, at http://www.permadi.com/tutorial/flashSharedObject/index.html .

Another method would be to use Javascript cookies.  However you would need to use Javascript to write the object that has the Flash too or Javascript couldn't "stop" the Flash.  There is a great tutorial and script for Javascript cookies at http://www.quirksmode.org/js/cookies.html .

Let me know how this works as a start.  If you have a question or need more info let me know.

bol
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 21815595
I'm glad I could help.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question