# Go to and play & load movie

**URL:** <https://forum.kirupa.com/t/go-to-and-play-load-movie/157947>\
**Category:** Uncategorized\
**Created:** [August 5, 2005, 10:21am UTC](https://forum.kirupa.com/t/go-to-and-play-load-movie/157947 "2005-08-05T10:21:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhatter](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jhatter](https://forum.kirupa.com/u/jhatter)\
**Post date:** [August 5, 2005, 10:21am UTC](https://forum.kirupa.com/t/go-to-and-play-load-movie/157947/1 "2005-08-05T10:21:08Z")

</div>

I want to put an action on a button that jumps to a new frame, loads a movie (.swf) in that frame, into an empty movie clip, all in one go.

I have used the following on the button but it doesn’t function properley.

on (release) {  
gotoAndPlay(5);  
\_root.mtClip.loadMovie(“test.swf”, 1);  
}

I have made sure that the movie instance is named correctly.

Any suggestions would be gratefully received.
