# Need help with action for menu

**URL:** <https://forum.kirupa.com/t/need-help-with-action-for-menu/160416>\
**Category:** flash\
**Created:** [August 25, 2005, 7:15pm UTC](https://forum.kirupa.com/t/need-help-with-action-for-menu/160416 "2005-08-25T19:15:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theros](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@Theros](https://forum.kirupa.com/u/Theros)\
**Post date:** [August 25, 2005, 7:15pm UTC](https://forum.kirupa.com/t/need-help-with-action-for-menu/160416/1 "2005-08-25T19:15:36Z")

</div>

Ok im trying to get the effect of different swfs for all my different pages, so my loader one is “menu.swf” and i also have “index.swf”, and “about.swf”. Index and About are pretty much the same and have the same transtition in and transition out effect, The tut i based this off is here

Problem Im having is it works up to the point where I try to click on the buttons to change the content, the content won’t change and I cant tell what I’m doing wrong, the actionscript for the buttons are

```
	Quote:
 	 		 			 				 on (release) {
if (_root.currMovie == undefined) {
    _root.currMovie = "index";
    container.loadMovie("index.swf");
} else if (_root.currMovie != "index") {
    if (container._currentframe &gt;= container.midframe) {
        _root.currMovie = "index";
        container.play();
    }
}

```

}

The AS for the rest of the buttons are pretty much the same except for the movie name is changed… Heres the link for my [site](http://ericradio.no-ip.com/)

Also I’ve done what the tutorial did and dled the Thing for it and looked at it and it looks like it should work, but it doesnt?

Thanks all!
