# Nextscene() function

**URL:** <https://forum.kirupa.com/t/nextscene-function/149502>\
**Category:** Uncategorized\
**Created:** [May 30, 2005, 3:01am UTC](https://forum.kirupa.com/t/nextscene-function/149502 "2005-05-30T03:01:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nimbusism](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@nimbusism](https://forum.kirupa.com/u/nimbusism)\
**Post date:** [May 30, 2005, 3:01am UTC](https://forum.kirupa.com/t/nextscene-function/149502/1 "2005-05-30T03:01:44Z")

</div>

Ok, i have flashmx2004 and love it. There are a few things that have been puzzling me for a while. I have a movie with multiple scenes, and i would like a button to be able to go foward one scene or go back one scene. I have success when i put the button on the parent level and use the A.S. :

```auto
on (release) {
	nextScene();

}

```

But if i try to put this same code on a differant level like within a movie clip or even a movie clip that has a button. Or any level other than root, the code will not work. I have tried using :

```auto
on (release) {
	_root.nextScene();

}

```

But no luck there.  
Any ideas?

thanks,  
Nimbus
