# Error #1006: restartSlideShow is not a function

**URL:** <https://forum.kirupa.com/t/error-1006-restartslideshow-is-not-a-function/323154>\
**Category:** Uncategorized\
**Created:** [June 19, 2011, 10:51am UTC](https://forum.kirupa.com/t/error-1006-restartslideshow-is-not-a-function/323154 "2011-06-19T10:51:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikaelf](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@mikaelf](https://forum.kirupa.com/u/mikaelf)\
**Post date:** [June 19, 2011, 10:51am UTC](https://forum.kirupa.com/t/error-1006-restartslideshow-is-not-a-function/323154/1 "2011-06-19T10:51:17Z")

</div>

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:

```auto

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

```
