# Next scene actionscript

**URL:** https://forum.kirupa.com/t/next-scene-actionscript/69585
**Category:** flash
**Created:** [November 5, 2004, 3:04pm UTC](https://forum.kirupa.com/t/next-scene-actionscript/69585 "2004-11-05T15:04:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tharnid](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@Tharnid](https://forum.kirupa.com/u/Tharnid)
#### Post date: [November 5, 2004, 3:04pm UTC](https://forum.kirupa.com/t/next-scene-actionscript/69585/1 "2004-11-05T15:04:30Z")

</div>

I am new to actionscripting so bear with me here. I have a scene with 3 buttons on it. I would like to be able to click the button and move on the to a specified scene. Will the following code work or do I need to used something else?

> 

on (release) {  
\_root.contents.loadMovie(“locations.swf”);  
}

Can I replace the locations.swf with one of my scene names or do I need to find another piece of code? Thanks in a advance :puzzle:
