# Embedding buttons in Movie Clips

**URL:** <https://forum.kirupa.com/t/embedding-buttons-in-movie-clips/4939>\
**Category:** flash\
**Created:** [August 25, 2002, 9:10pm UTC](https://forum.kirupa.com/t/embedding-buttons-in-movie-clips/4939 "2002-08-25T21:10:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![crzydimnd](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@crzydimnd](https://forum.kirupa.com/u/crzydimnd)\
**Post date:** [August 25, 2002, 9:10pm UTC](https://forum.kirupa.com/t/embedding-buttons-in-movie-clips/4939/1 "2002-08-25T21:10:20Z")

</div>

Hello Everyone,

I am an intermediate Flash user with a question: I am creating an entire Flash site by linking between scenes. However, the buttons that take the user between scenes are embedded in a Movie Clip (I did this so that I could manipulate the clip’s alpha transparency for a fade effect. Anyway, I am wondering if this affects the functionality of the buttons, or if there is something else I’m doing wrong. The buttons don’t take me anywhere… am I not allowed to have them embedded in a movie clip?

Any help would be appreciated.

Thanks,  
crzydimnd

---

<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 25, 2002, 9:44pm UTC](https://forum.kirupa.com/t/embedding-buttons-in-movie-clips/4939/2 "2002-08-25T21:44:12Z")

</div>

Hey crzydimnd,  
You will need to add a \_root before the line of your actions containing the “next scene” code. For example:

```php
on (release) {
    _root.nextScene();
}

```

Notice the placement of \_root. Place that in your code, and you will find that switching between scenes becomes a reality 🙂

Cheers!  
Kirupa :asian:

---

<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 25, 2002, 10:08pm UTC](https://forum.kirupa.com/t/embedding-buttons-in-movie-clips/4939/3 "2002-08-25T22:08:45Z")

</div>

Hey Kirupa,  
Thanks for the prompt reply. I will try that, but what if I want to go to a specific scene and frame number? I tried doing this:  
on(release)  
{ gotoAndPlay(“portfolio”, 1);  
}

is my syntax incorrect, or does that not work? Again, thanks a lot for your help.

crzydimnd
