# Strange, buttons wont work?

**URL:** https://forum.kirupa.com/t/strange-buttons-wont-work/99327
**Category:** Uncategorized
**Created:** [January 17, 2004, 2:03pm UTC](https://forum.kirupa.com/t/strange-buttons-wont-work/99327 "2004-01-17T14:03:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cartoonfox](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@cartoonfox](https://forum.kirupa.com/u/cartoonfox)
#### Post date: [January 17, 2004, 2:03pm UTC](https://forum.kirupa.com/t/strange-buttons-wont-work/99327/1 "2004-01-17T14:03:36Z")

</div>

hi, for some reason my buttons dont work.  
here is what i have.

i have a movieclip[1], and in that movieclip is another [2] with this on it.

```auto

on (rollOver) {
	this.gotoAndPlay("start2");
}
on (rollOut) {
	this.gotoAndPlay("end");
}

```

and on the main stage, where [1] is, i have this code for a duplicate of [1], [3] but on a different layer, and it’s acting as a button. i have this code on [3]

```auto

on(press){
	gotoAndPlay("home-out");
}

```

but for some reason it’s not working. the rollover actions work fine, but the button doesn’t.  
also, if i move [3] layer above [1], the rollover actions dont work and neither does the button.

can anyone help?

thanks
