GotoAndPlay button Problem

Hello, I have a movie clip and inside I have some menu buttons, I want to link them to a timeline in another movie clip but I have not been able so far.

Example:

The buttons inside movie clip 4 should affect the timeline within movie clip 1.

Movie Clip 0 (root) > Movie Clip 1 (timeline) > Movie Clip 2 > Movie Clip 3 > Movie Clip 4 (buttons)

First I tried using:

on(release)
{
gotoAndPlay(5);
}

Then I modified the code adding the name of the movie clip I wanted the buttons to affect:

on(release)
{
movieclip1.gotoAndPlay(5);
}

It did not work as well. What can i do?

Thanks a lot