Error #1006: restartSlideShow is not a function

Hi all,

I am trying to call a function from my child to the main swf, but I receive error
Error #1006: restartSlideShow is not a function. Could anyone be so kind and letting me know how to solve it? many thanx

restarter is the function in the main swf which I want to run.
This is my code:


function restartSlideshow(Event:MouseEvent):void{
    MovieClip(root.parent.parent).restarter(); 
   
}