# Movie clip variables help!

**URL:** <https://forum.kirupa.com/t/movie-clip-variables-help/216452>\
**Category:** Uncategorized\
**Created:** [February 16, 2007, 4:51pm UTC](https://forum.kirupa.com/t/movie-clip-variables-help/216452 "2007-02-16T16:51:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spinningplates](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@spinningplates](https://forum.kirupa.com/u/spinningplates)\
**Post date:** [February 16, 2007, 4:51pm UTC](https://forum.kirupa.com/t/movie-clip-variables-help/216452/1 "2007-02-16T16:51:48Z")

</div>

Hi,

I need some help with coding movie clips to react to a variable value eg if light = 1, gotoandstop frame2 else goto and stop 1

Trouble is, the clip seems to go to frame two regardless of the variable value, and other instances just react the same as the parent symbol regardless of the condition written inside?

Anyone help??
