Hello! I'm building a website in Flash CS3 and I'm having a problem. Yo give you a basic idea, the website itself is static, and when you click a button the only thing that changes is the content in the box. The first problem I'm having is that I can't stop the content from looping. Its set up so that a short animation plays and then the content shows, however, there are 7 different instances of the content that should appear on click. The buttons aren't working and the content just keeps looping. This is the code I have currently:
ContactUs.addEventListener(MouseEvent.CLICK, clickContactUs);
function clickContactUs(event:Event):void
{
trace("Contacting!!");
gotoAndStop("ContactUs");
}
(Sorry ahead of time, I can't get the code to display correctly) There is a similar one for each content "page", 7 all together. In the first keyframe, there is a stop(), yet it's not stopping, and the buttons aren't working. Any advice or suggestions would be great, this is getting frustrating!