# New animated buttons not working

**URL:** <https://forum.kirupa.com/t/new-animated-buttons-not-working/115428>\
**Category:** Uncategorized\
**Created:** [July 8, 2004, 4:08pm UTC](https://forum.kirupa.com/t/new-animated-buttons-not-working/115428 "2004-07-08T16:08:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![as\_clark20](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@as\_clark20](https://forum.kirupa.com/u/as_clark20)\
**Post date:** [July 8, 2004, 4:08pm UTC](https://forum.kirupa.com/t/new-animated-buttons-not-working/115428/1 "2004-07-08T16:08:27Z")

</div>

I have designed a web catalogue and like every web site it uses buttons. Now that I am more into actionscript and design now-a-days I decided to replace the buttons with nice actionscripted buttons with a nice fade using the code:

```auto

// as for the fade in/out action. 

onClipEvent (enterFrame) {
	this.buttonid.text = "Enter Catalogue";
	if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
		this.nextFrame();
	} else {
		this.prevFrame();
	}
}

// main button action

on (release) {
             gotoAndPlay(1);
}

```

Now my catalogue ain’t working. Why does it work with buttons and not with movieclip buttons??

Adam
