Solved

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

Posted on 2008-06-10
2
121 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

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…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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 …

734 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