# Problems getting my movie to "stop"

**URL:** <https://forum.kirupa.com/t/problems-getting-my-movie-to-stop/43474>\
**Category:** flash\
**Created:** [February 23, 2004, 2:46am UTC](https://forum.kirupa.com/t/problems-getting-my-movie-to-stop/43474 "2004-02-23T02:46:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RageW0lf](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@RageW0lf](https://forum.kirupa.com/u/RageW0lf)\
**Post date:** [February 23, 2004, 2:46am UTC](https://forum.kirupa.com/t/problems-getting-my-movie-to-stop/43474/1 "2004-02-23T02:46:28Z")

</div>

I am starting to get really pi$$ed off with Flash today, I found a bug which wasted me HOURS of time and even now I still can’t get it to work properly.

I have the following code attached to a button within a movie clip with the named instance “mainb”:

```auto

on (rollOut) {
	_root.main.mainb.roll = true;
}
on (releaseOutside, rollOut) {
	_root.main.mainb.roll = false;
}

```

on the movie clip “mainb” I have the following code:

```auto

onClipEvent (enterFrame) {
	if (roll==true && _root.main._currentframe>710) {
		_root.main.stop()
	}
	if (roll==false && _root.main._currentframe>710) {
		_root.main.play()
	}
}

```

now in my mind this should stop the movie of “\_root.main” playing if the button is rolled over & \_root.main movie playhead is in a frame higher than 710.

But, needless to say, it doesn’t work. Why is this?

the paths are RIGHT I used the crosshairs to locate them from \_root. I tried doing it relatively (ie. \_parent etc.) but this didn’t work either.

Please help!
