# Problem with calling functions inside MC. Please help!

**URL:** https://forum.kirupa.com/t/problem-with-calling-functions-inside-mc-please-help/230434
**Category:** flash
**Created:** [June 26, 2007, 8:17am UTC](https://forum.kirupa.com/t/problem-with-calling-functions-inside-mc-please-help/230434 "2007-06-26T08:17:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mx\_guest2004](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mx\_guest2004](https://forum.kirupa.com/u/mx_guest2004)
#### Post date: [June 26, 2007, 8:17am UTC](https://forum.kirupa.com/t/problem-with-calling-functions-inside-mc-please-help/230434/1 "2007-06-26T08:17:11Z")

</div>

Hi,  
I have a movie clip in the library. I attach this MC to another movie clip on the stage.  
[AS]  
mc\_on\_stage.attachMovie(“MC”,“newMC”,someDepth);  
[/AS]  
my MC in the library has som simple motion tweens and at the end of that motion tweens I have  
[AS]  
\_root.myFunction();  
stop();  
[/AS]  
and myFunction is a function in the \_root of main movie and continues my flash movie.  
The problem is that I can see what myFunction does at home, but the movie stops right before the myFunction on my PC at work. Some of my friends can see whole movie but a few can’t and the movie stops right befor myFunction!

Is there any problem with my calling the function?  
I have used \_parent.\_parent.myFunction as well but the problem remains unsolved.

Any help please?
