# Scene jumping

**URL:** <https://forum.kirupa.com/t/scene-jumping/168132>\
**Category:** Uncategorized\
**Created:** [November 4, 2005, 4:55am UTC](https://forum.kirupa.com/t/scene-jumping/168132 "2005-11-04T04:55:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blenderben](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/blenderben/32/74_2.png) [@Blenderben](https://forum.kirupa.com/u/Blenderben)\
**Post date:** [November 4, 2005, 4:55am UTC](https://forum.kirupa.com/t/scene-jumping/168132/1 "2005-11-04T04:55:05Z")

</div>

OKay i have this swf  
and its packed with about 12 some scenes, and there are two buttons, a forward and a backward…

the forward button. on release will jump to the nextScene(), and like wise with the backwards button, i jumps to the prevScene()

but at then end, when i get to the last scene, the forward button wont restart me back at the first scene, is there some code or action script that when i get to the last scene, by pressing a button it will take me to the first scene?

i know this can easily done if i use movie clips for scenes, but i have a restriction and I MUST use scenes.

help? this shouldn’t be too hard 🙂
