Actionscript 3 Problem with a button

Hi there,

I am fairly new to actionscript 3.

I am creating an animation. 3 buttons come up during the animation, and when one clicks on them, they should take you to the respective scenes (frame 1).

Now i spent about 3 hours yesterday on various websites, trying out the same code in various ways but nothing worked. I got different errors every time. My button is just a normal button and i created an instance name.

the code is like this (and i have tried variations of it)

[COLOR=#0066CC][/COLOR]button1.[COLOR=#006600]addEventListener[/COLOR][COLOR=#66cc66]([/COLOR]MouseEvent.[COLOR=#006600]MOUSE_DOWN[/COLOR], mouseDownHandler[COLOR=#66cc66])[/COLOR];
function mouseDownHandlerCOLOR=#66cc66[/COLOR]:[COLOR=#0066CC]void[/COLOR] [COLOR=#66cc66]{[/COLOR] [COLOR=#0066CC]gotoAndStop[/COLOR][COLOR=#66cc66]([/COLOR][COLOR=#cc66cc]1[/COLOR], [COLOR=#66cc66]“Scene2”[/COLOR][COLOR=#66cc66])[/COLOR]; [COLOR=#66cc66]}[/COLOR]

But i keep getting errors. Now im getting an error - "1021 - Duplicate function definition)

Any help would be really appreciated!

Leigh