Solved

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

Posted on 2008-06-10
2
120 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Generate Numbers in JQuery file 11 66
Add or delete table rows 10 54
How to add a stringified JSON string to an IP address? 11 60
Javascript 2 26
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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