# Simple Movie\_Clip function (help)

**URL:** <https://forum.kirupa.com/t/simple-movie-clip-function-help/259516>\
**Category:** flash\
**Created:** [May 6, 2008, 8:21am UTC](https://forum.kirupa.com/t/simple-movie-clip-function-help/259516 "2008-05-06T08:21:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![korpela2](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@korpela2](https://forum.kirupa.com/u/korpela2)\
**Post date:** [May 6, 2008, 8:21am UTC](https://forum.kirupa.com/t/simple-movie-clip-function-help/259516/1 "2008-05-06T08:21:15Z")

</div>

Hi,

I wonder is there a simple answer to this this question:

I have a moviclip on the main stage with a stop action on the frame above.

I want the movie to play ahead from that frame on the main stage after a certain frame is reached in the movieclip.

I tried using this simple function on the main stage;  
if (\_root.myMovieclip.signal.\_x = 100){  
gotoAndPlay(win);  
}

So when signal.\_x moves to 100 in the movieclip, the frame jumps to “win”. However this doenst work . I tried using a timer on the frame as well but it does not provide an accurate enough response.

Any help would be much appreciated…
