Need Help with movie clip menu
I am trying to do a simple flash file. I have 4 buttons in a movie clip. I have an actions frame with the following code.
///////////////////// Code
function btn_WhoWeAre(event:MouseEvent):void {
MovieClip(parent).gotoAndPlay(1);
}
function btn_OurPortfolio(event:MouseEvent):void {
MovieClip(parent).gotoAndPlay(2);
}
function btn_OurServices(event:MouseEvent):void {
MovieClip(parent).gotoAndPlay(3);
}
function btn_ContactUs(event:MouseEvent):void {
MovieClip(parent).gotoAndPlay(4);
}
///////////////////
As I am new to flash I can't figure out what I am doing wrong. I get an error about incompatible override and dupplicate function. Can anyone please help me.