# Make this simple gotoAndStop work!

**URL:** <https://forum.kirupa.com/t/make-this-simple-gotoandstop-work/83992>\
**Category:** flash\
**Created:** [March 23, 2005, 8:50pm UTC](https://forum.kirupa.com/t/make-this-simple-gotoandstop-work/83992 "2005-03-23T20:50:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aam](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@aam](https://forum.kirupa.com/u/aam)\
**Post date:** [March 23, 2005, 8:50pm UTC](https://forum.kirupa.com/t/make-this-simple-gotoandstop-work/83992/1 "2005-03-23T20:50:56Z")

</div>

I boggled with this simple script.

[font=verdana, arial, helvetica][size=2]This script is on the MC. Everything works except the last onRelase function which just won’t go to “disable”. If I change “disable” to “fadein” it will work. Please see the attached timeline pic to get better idea and please do let me know what I’m doing wrong.

onClipEvent (enterFrame) {

\_root.navbtns\_mc.webnav.onRollOver= function() {  
webnav.gotoAndPlay (“fadein”);  
}  
\_root.navbtns\_mc.webnav.onRollOut = function() {  
webnav.gotoAndPlay (“fadeout”);  
}  
\_root.navbtns\_mc.webnav.onRelease = function() {  
webnav.gotoAndStop(“disable”);  
}

}[/size][/font]
