# Mc on button command

**URL:** <https://forum.kirupa.com/t/mc-on-button-command/150438>\
**Category:** Uncategorized\
**Created:** [June 7, 2005, 5:05pm UTC](https://forum.kirupa.com/t/mc-on-button-command/150438 "2005-06-07T17:05:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsd](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@dsd](https://forum.kirupa.com/u/dsd)\
**Post date:** [June 7, 2005, 5:05pm UTC](https://forum.kirupa.com/t/mc-on-button-command/150438/1 "2005-06-07T17:05:54Z")

</div>

Can someone help me out Im not a programmer.  
I placed a movie clip in the over state of a button  
when I go to add the script, "on (release) {  
gotoAndPlay(“Scene 3”, “pub”);  
} the button acts funny, sometimes it works and other  
times it takes me to another scene or loops the whole swf.  
Should I putting a preloader in each scene or on the button?

dave
