# How do I switch levels in a game?

**URL:** <https://forum.kirupa.com/t/how-do-i-switch-levels-in-a-game/34469>\
**Category:** flash\
**Created:** [November 2, 2003, 10:47pm UTC](https://forum.kirupa.com/t/how-do-i-switch-levels-in-a-game/34469 "2003-11-02T22:47:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Luther\_King\_J](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@Martin\_Luther\_King\_J](https://forum.kirupa.com/u/Martin_Luther_King_J)\
**Post date:** [November 2, 2003, 10:47pm UTC](https://forum.kirupa.com/t/how-do-i-switch-levels-in-a-game/34469/1 "2003-11-02T22:47:49Z")

</div>

I’m making a game in flash, and I was wondering how can I switch levels when the player reaches a certain amount of points. Anybody know? Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 5:20am UTC](https://forum.kirupa.com/t/how-do-i-switch-levels-in-a-game/34469/2 "2003-11-03T05:20:40Z")

</div>

your score is probably a variable right? so just set it to say:  
if highscore \> “what ever number” then goto and play the frame with the next level.
