# Shared Object skip intro after first visit

**URL:** <https://forum.kirupa.com/t/shared-object-skip-intro-after-first-visit/327214>\
**Category:** flash\
**Created:** [February 13, 2012, 2:23pm UTC](https://forum.kirupa.com/t/shared-object-skip-intro-after-first-visit/327214 "2012-02-13T14:23:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cliffmusic29](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cliffmusic29](https://forum.kirupa.com/u/cliffmusic29)\
**Post date:** [February 13, 2012, 2:23pm UTC](https://forum.kirupa.com/t/shared-object-skip-intro-after-first-visit/327214/1 "2012-02-13T14:23:39Z")

</div>

Hopefully you guys can see something i am missing. I want to skip the intro of the flash movie after the first visit, so the user doesn’t have to see the intro to get to the main site.

I have the code below on frame 1, an intro flv on frame 2 and the main site on frame 3. Code seems perfect and straight forward, why is it not working for me. I had a stop(); on frame 2 and 3 but I removed them to see if that would fix it, but no luck.

```auto
_so = SharedObject.getLocal("skipIntro");
_introcheck = 0;
if (_so.data.introcheck != _introcheck) {
_so.data.introcheck = 0;
_so.flush();
//Intro has not been played
gotoAndStop(2)
} else {
//Intro has been played
gotoAndStop(3)
}

```

Thanks for any help guys!
