# Btn problem

**URL:** https://forum.kirupa.com/t/btn-problem/214350
**Category:** Uncategorized
**Created:** [January 27, 2007, 9:16pm UTC](https://forum.kirupa.com/t/btn-problem/214350 "2007-01-27T21:16:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Jeremy78](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@Jeremy78](https://forum.kirupa.com/u/Jeremy78)
#### Post date: [January 27, 2007, 9:16pm UTC](https://forum.kirupa.com/t/btn-problem/214350/1 "2007-01-27T21:16:13Z")

</div>

Hello all, I got this button and it came with this actionscript to play a rollOver effect. It was no linked to anything. I want to make it gotoAndPlay a frame in the same timeline. How do I do this?

on (rollOver) {  
this.gotoAndPlay(“mc\_1”);  
}  
on (releaseOutside, rollOut) {  
this.gotoAndPlay(\_totalframes-\_currentframe);  
}

I’ve tried this and didn’t work.

onRelease.gotoAndPlay(7) or something to that nature… obviously wasn’t working
