# If (\_root.score == 100) {

**URL:** <https://forum.kirupa.com/t/if--root-score-100/76276>\
**Category:** Uncategorized\
**Created:** [January 16, 2005, 9:28pm UTC](https://forum.kirupa.com/t/if--root-score-100/76276 "2005-01-16T21:28:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hotwireddriveby](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hotwireddriveby](https://forum.kirupa.com/u/hotwireddriveby)\
**Post date:** [January 16, 2005, 9:28pm UTC](https://forum.kirupa.com/t/if--root-score-100/76276/1 "2005-01-16T21:28:19Z")

</div>

ohhhhkay.

i basically put a game inside of a nav bar. i got it all working with the score, and the movie clips coming back. but now i want to add levels.

i used the tut for random motion for the targets, whi ch means the movie clips have enterFrames on them. i dont know id that wpuld do anything.

so i have this on the “first level” of the game

```auto
 if (_root.score == 100) {
 gotoAndPlay("level2");
}
 

```

but it doesnt go to the “level2” frame.

you can download the .fla here

[www.dinkumrocks.com/nav2.fla](http://www.dinkumrocks.com/nav2.fla)  
(right click and save target as)

-Thanks, Naaman
