# Help needed! Navigating through scenes

**URL:** <https://forum.kirupa.com/t/help-needed-navigating-through-scenes/50876>\
**Category:** Uncategorized\
**Created:** [May 7, 2004, 6:39am UTC](https://forum.kirupa.com/t/help-needed-navigating-through-scenes/50876 "2004-05-07T06:39:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nazuaf](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nazuaf](https://forum.kirupa.com/u/nazuaf)\
**Post date:** [May 7, 2004, 6:39am UTC](https://forum.kirupa.com/t/help-needed-navigating-through-scenes/50876/1 "2004-05-07T06:39:26Z")

</div>

Hi to all the gurus,

I need some help from you guys regarding this issue that I have. Here’s the scenario:

There are 7 scenes and one main interface that is suppose to control all the navigation in between the scenes. The interface is in the library and consists of a ‘BACKWARD’ and ‘FORWARD’ button which has some actions attached to them. What I did was dragging the main interface from the library but the button doesn’t appear to be functioning. Could you guys help, please?

p/s: The coding on the ‘FORWARD’ button is as follows:

on (release) {  
if (pageNo == 1) {  
gotoAndPlay(“Screen 2”, 1);  
}  
if (pageNo == 2) {  
gotoAndPlay(“Screen 3”, 1);  
}  
if (pageNo == 3) {  
gotoAndPlay(“Screen 4”, 1);  
}  
if (pageNo == 4) {  
gotoAndPlay(“Screen 5”, 1);  
}  
if (pageNo == 5) {  
gotoAndPlay(“Screen 6”, 1);  
}  
if (pageNo == 6) {  
gotoAndPlay(“Screen 7”, 1);  
}  
}
