# Play flash intro only once per \_Domain\_ visit

**URL:** <https://forum.kirupa.com/t/play-flash-intro-only-once-per--domain--visit/134725>\
**Category:** Uncategorized\
**Created:** [January 20, 2005, 10:27pm UTC](https://forum.kirupa.com/t/play-flash-intro-only-once-per--domain--visit/134725 "2005-01-20T22:27:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PCGamre](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@PCGamre](https://forum.kirupa.com/u/PCGamre)\
**Post date:** [January 20, 2005, 10:27pm UTC](https://forum.kirupa.com/t/play-flash-intro-only-once-per--domain--visit/134725/1 "2005-01-20T22:27:46Z")

</div>

Can any one point me to a tutorial that shows how to do **what the title above says** (OR how do delete sharedObject files on user’s computers) using sharedObjects or javascript?

I want the user to be able to see the intro only once, but if he closes the browser or leaves the domain, then I want it to replay. But if he is browsing through pages within the domain, I want the intro not to play again until he leaves domain or closes browser.

**I’ve succeeded in getting the sharedObject to be stored so it only plays once, but I don’t know how to make it delete that object on leaving domain or closing out web browser so I can see it again when I revisit the domain.**

I also see some stuff on the web about deleting SO’s but it doesn’t say what action invokes the deletion, where do I put the code in my Swf, etc…
