# Skip intro button trouble

**URL:** <https://forum.kirupa.com/t/skip-intro-button-trouble/28388>\
**Category:** flash\
**Created:** [August 13, 2003, 7:47am UTC](https://forum.kirupa.com/t/skip-intro-button-trouble/28388 "2003-08-13T07:47:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![caliguyinsd](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@caliguyinsd](https://forum.kirupa.com/u/caliguyinsd)\
**Post date:** [August 13, 2003, 7:47am UTC](https://forum.kirupa.com/t/skip-intro-button-trouble/28388/1 "2003-08-13T07:47:49Z")

</div>

Ok here’s the deal…

I have a skip intro button on my flash movie but when I press it, it keeps on playing the intro and meanwhile the site loads up behind the intro… I can’t figure out how to get the intro to stop playing and go to frame 320 (where the site beings to load). Here’s the AS I’m using so far

on (release) {  
gotoAndPlay(320);  
}

Any help would be HIGHLY apperciated:azn:

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2003, 8:04am UTC](https://forum.kirupa.com/t/skip-intro-button-trouble/28388/2 "2003-08-13T08:04:27Z")

</div>

hoi  
your target pahts are not right

try

```auto

on(release){
_parent.gotoAndPlay(320);
}

```

😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2003, 10:47am UTC](https://forum.kirupa.com/t/skip-intro-button-trouble/28388/3 "2003-08-13T10:47:16Z")

</div>

now nothing happens with the button. :hangover:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2003, 10:58am UTC](https://forum.kirupa.com/t/skip-intro-button-trouble/28388/4 "2003-08-13T10:58:09Z")

</div>

is the intro in a mc or is it loaded in the the main movie?

and where is the button on the intro or on the main movie?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2003, 11:08am UTC](https://forum.kirupa.com/t/skip-intro-button-trouble/28388/5 "2003-08-13T11:08:43Z")

</div>

the intro is loaded in a mc and the button is on the main movie.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2003, 11:12am UTC](https://forum.kirupa.com/t/skip-intro-button-trouble/28388/6 "2003-08-13T11:12:08Z")

</div>

well that changes things

then you should try this

```auto

on(release){
        _parent.*yourMcNameThatHoldsTheIntro*.gotoAndPlay(320);
}

```

😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2003, 11:24am UTC](https://forum.kirupa.com/t/skip-intro-button-trouble/28388/7 "2003-08-13T11:24:13Z")

</div>

Still don’t work ;(

I put the code you gave me in the AS on the button layer and it still wont work :nerd:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2003, 12:02pm UTC](https://forum.kirupa.com/t/skip-intro-button-trouble/28388/8 "2003-08-13T12:02:50Z")

</div>

ok

you have a main movie… and you have a intro movie that gets loaded in to a target movieClip…  
you should give the target movieClip an name like "introHolder"  
you can give an mc a name… by selecting the empty movieClip and then in the prob window there is a textfield the whole way left… you can put the name there  
Then right click the the skip intro button and select Actions in the popup menu… in the the window that opens put this code

```auto

on(release){
        _root.holder.gotoAndPlay(320);
}

```

if you didn’t call you mc “holder” the you have to change it in the code ^^

now it should work 😉
