Problems linking to frames with movie

Hi all, can anyone help me?

Please excuse my novice problems but I am really quite stuck. I am building a site and have developed some animated buttons using a kirupa tutorial. These work brilliantly and I have made them on release link to frame names. The problem is that I have replicated the same type of animated button within a movie clip on the screen. The animated buttons within the movie clip do not gotoandplay the frame name like the ones on the main timeline. I can’t seem to understand why they work on the main timeline but not within a movie clip time line.

The actionscript code that works on the main timeline buttons but not buttons in the movie clips is:


this.onEnterFrame = function(){

if(rewind == true){




this.onRollOver = function(){

rewind = false;


this.onRollOut = function(){

rewind = true;


this.onRelease = function(){


I am so grateful in advance if anyone can help me make these animated buttons work.

Kind regards,