# \*\* currentframe() \*\*

**URL:** <https://forum.kirupa.com/t/currentframe/92148>\
**Category:** Uncategorized\
**Created:** [October 13, 2003, 10:30pm UTC](https://forum.kirupa.com/t/currentframe/92148 "2003-10-13T22:30:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Vulcan](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/the_vulcan/32/145_2.png) [@The\_Vulcan](https://forum.kirupa.com/u/The_Vulcan)\
**Post date:** [October 13, 2003, 10:30pm UTC](https://forum.kirupa.com/t/currentframe/92148/1 "2003-10-13T22:30:25Z")

</div>

I have one frame, in that frame I have a movie “logo” it is 19 frames long, looping.

What I want it to do is, that when you mouse over it  
(and it is at || gets to frame 15)  
it stops.

The code I am trying will just stop the movie where it is at, even if it is not (on || at ) frame 15

[AS]

onClipEvent (enterFrame) {

```
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
	
	if (this._currentframe = 15) {
		this.stop();}
		
}

```

}

[/AS]

any ideas please ?
