I have created different buttons on different movieclip. Then i assigned onPress event on each buttons. But the function of onPress event is not triggered. The arrangement of movieclips is following. Can anybody notify the mistake that i made. It's very urgent for me. Because today is the release date. Please help me.

The pieces of code that are associated with creating button is marked with red color.

if the parent and a child need to both respond to the mouse, it's usually best to assign the mouse handler to the parent and start a loop when the parent undergoes a rollOver. in that loop check for the appropriate mouse event during a positive hittest with the child. stop the loop on rollOut of the parent.