# Scripting a MovieClip to act like a Button

**URL:** <https://forum.kirupa.com/t/scripting-a-movieclip-to-act-like-a-button/187833>\
**Category:** Uncategorized\
**Created:** [May 2, 2006, 5:42pm UTC](https://forum.kirupa.com/t/scripting-a-movieclip-to-act-like-a-button/187833 "2006-05-02T17:42:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lazerbrains](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Post date:** [May 2, 2006, 5:42pm UTC](https://forum.kirupa.com/t/scripting-a-movieclip-to-act-like-a-button/187833/1 "2006-05-02T17:42:36Z")

</div>

I have a Flash sitethat I am buiding, and I have all the buttons set up as movieClips so that they can have a more extensive rollover state. I have each page of the site separated into separate scenes. I am just trying to script the movieClips to gotoAndPlay (scene, frame); here is the code I am using:

on (release) {  
trace(“FAQ”);  
gotoAndPlay(“FAQ”,“start”);  
}

“FAQ” being the scene name, and “start” being the frame label. I am just tracing the onRelease to make sure it is getting the right info. It is. Can anyone tell me why this isn’t working?:crazy:
