Drop-down menu problems

[left][font=Times New Roman][size=3]Hi[/size][/font]

[font=Times New Roman][size=3]I have created several drop-down menus to a site I’m building. Each one is a movie that contains the buttons.[/size][/font]

[font=Times New Roman][size=3]Then I gave each button the appropriate actionscript and it worked fine on this specific page, but the same scripts moved automatically to the drop-down menus in other pages, but there the script is incorrect since there I want it to do something else.[/size][/font]

[font=Times New Roman][size=3]Now I came to the conclusion that the code must be written in an action layer, but it does not work.[/size][/font]

[font=Times New Roman][size=3]Can anyone help me with the problem?[/size][/font]

[font=Times New Roman][size=3]What is the appropriate script and where should I write it?[/size][/font]

[font=Times New Roman][size=3] [/size][/font]

[font=Times New Roman][size=3]Thanks in advance[/size][/font][/left]