# Checks to see if MC arrived

**URL:** <https://forum.kirupa.com/t/checks-to-see-if-mc-arrived/47981>\
**Category:** flash\
**Created:** [April 8, 2004, 8:17pm UTC](https://forum.kirupa.com/t/checks-to-see-if-mc-arrived/47981 "2004-04-08T20:17:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandman9](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@Sandman9](https://forum.kirupa.com/u/Sandman9)\
**Post date:** [April 8, 2004, 8:17pm UTC](https://forum.kirupa.com/t/checks-to-see-if-mc-arrived/47981/1 "2004-04-08T20:17:42Z")

</div>

I have a MC moving via script as follows

```auto

onClipEvent (load) {
        cont = -675;
}
onClipEvent (enterFrame) {
       //movement code here
} 

```

Then on the next frame I have

```auto

if (cont < -673) {
	nextFrame();
}

```

So basically what I’m trying to do is get it to play the nextframe once the MC has reached the point -675 … anyone know what I’m doing wrong here?

PS- “cont” is the instance name of the MC

Sandman9
