# \[MX04\] Using a variable in a movie clip

**URL:** https://forum.kirupa.com/t/mx04-using-a-variable-in-a-movie-clip/275028
**Category:** Uncategorized
**Created:** [November 7, 2008, 10:55pm UTC](https://forum.kirupa.com/t/mx04-using-a-variable-in-a-movie-clip/275028 "2008-11-07T22:55:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![memzeh](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@memzeh](https://forum.kirupa.com/u/memzeh)
#### Post date: [November 7, 2008, 10:55pm UTC](https://forum.kirupa.com/t/mx04-using-a-variable-in-a-movie-clip/275028/1 "2008-11-07T22:55:32Z")

</div>

I couldn’t find anything with Google on how to do this, so I’m posting it.

I have a code on the first frame of a movie clip that goes to and stops at a different frame in the movie clip depending on a variable that was set outside of the movie clip. It doesn’t work, and the movie clip just plays through like normal. I think maybe this is because I have to do something special to use a variable that was set outside of the movie clip? Please help, and thanks! 🙂
