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:
// 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