# Movie clip navigation

**URL:** <https://forum.kirupa.com/t/movie-clip-navigation/208540>\
**Category:** Uncategorized\
**Created:** [November 29, 2006, 8:20pm UTC](https://forum.kirupa.com/t/movie-clip-navigation/208540 "2006-11-29T20:20:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![indnkidd](https://avatars.discourse-cdn.com/v4/letter/i/8e8cbc/32.png) [@indnkidd](https://forum.kirupa.com/u/indnkidd)\
**Post date:** [November 29, 2006, 8:20pm UTC](https://forum.kirupa.com/t/movie-clip-navigation/208540/1 "2006-11-29T20:20:27Z")

</div>

I am workin on a project that shows the change in housing density using maps. I have a movie clip “maps” that I have transitioning between various years.

I need to make buttons that go through the movie clip, and when they click it, showing the transformation from that year. I just can’t get the code to work.

Below is what I have:

b1950 is the instance for the button  
maps is the instance of movieclip

b1950.onRelease = function () {

if ( maps.\_currentframe \< 10) {  
maps.nextFrame;  
} else if (maps.\_currentframe \> 10) {  
maps.prevFrame;  
}  
else {  
maps.stop();  
}

}

Help will be greatfully appreciated,

Thanks
