# Can you make a Movie instance go to a specified frame?

**URL:** https://forum.kirupa.com/t/can-you-make-a-movie-instance-go-to-a-specified-frame/116841
**Category:** Uncategorized
**Created:** [July 21, 2004, 8:04pm UTC](https://forum.kirupa.com/t/can-you-make-a-movie-instance-go-to-a-specified-frame/116841 "2004-07-21T20:04:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![joemama7976](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@joemama7976](https://forum.kirupa.com/u/joemama7976)
#### Post date: [July 21, 2004, 8:04pm UTC](https://forum.kirupa.com/t/can-you-make-a-movie-instance-go-to-a-specified-frame/116841/1 "2004-07-21T20:04:04Z")

</div>

I have a movie instance that has code in it that will only work on a Movie instance but I need to be able to go to a specified frame when a user clicks on it like a Button instance. How do approach this to make it all work?

---

<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: [July 21, 2004, 11:00pm UTC](https://forum.kirupa.com/t/can-you-make-a-movie-instance-go-to-a-specified-frame/116841/2 "2004-07-21T23:00:18Z")

</div>

[AS]  
clip\_mc.onRelease = function()  
{  
var frameNum = 5;  
this.gotoAndPlay(frameNum);  
};  
[/AS]
