# A simple code doesn't work!

**URL:** https://forum.kirupa.com/t/a-simple-code-doesnt-work/37108
**Category:** Uncategorized
**Created:** [December 5, 2003, 9:15pm UTC](https://forum.kirupa.com/t/a-simple-code-doesnt-work/37108 "2003-12-05T21:15:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![luksy](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@luksy](https://forum.kirupa.com/u/luksy)
#### Post date: [December 5, 2003, 9:15pm UTC](https://forum.kirupa.com/t/a-simple-code-doesnt-work/37108/1 "2003-12-05T21:15:21Z")

</div>

Inside a movie clip (on a button), i have this:

on (release) {  
if (passwordFld == “practice”) {  
\_root.gotoAndStop(“level1”, 1);  
}  
}

and it doesn’t want to move to that frame. If i put trace or mouse hide or anything else, it works. It just won’t move to the chosen frame!! Why?! (scene name is ok!)
