# Urgent Help with gotoAndStop

**URL:** <https://forum.kirupa.com/t/urgent-help-with-gotoandstop/286125>\
**Category:** flash\
**Created:** [April 10, 2009, 12:33pm UTC](https://forum.kirupa.com/t/urgent-help-with-gotoandstop/286125 "2009-04-10T12:33:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ManicMax](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@ManicMax](https://forum.kirupa.com/u/ManicMax)\
**Post date:** [April 10, 2009, 12:33pm UTC](https://forum.kirupa.com/t/urgent-help-with-gotoandstop/286125/1 "2009-04-10T12:33:12Z")

</div>

I’m trying to adapt a tutorial I found on this website entitled [Complex Button Rollover - Rollout Effects](http://www.kirupa.com/developer/mx2004/button_effect.htm)

The effect I am trying to achieve is instead of linking the animation to a website I wan’t to be able to navigate to another scene. The bit of the actions I’ve been changing in the downloaded fla is this,

```auto

[COLOR=#0000d0]this[/COLOR].[COLOR=#0000d0]onRelease[/COLOR] [COLOR=#0000ff]=[/COLOR] [COLOR=#006610]function[/COLOR][COLOR=#0000ff](){[/COLOR] [COLOR=#0000d0]getURL[/COLOR][COLOR=#0000ff]([/COLOR][COLOR=#666666]"http://www.kirupa.com"[/COLOR],[COLOR=#666666]"_blank"[/COLOR][COLOR=#0000ff])[/COLOR]; [COLOR=#0000ff]}[/COLOR] 

```

To this,

```auto
this.onRelease = function(){
  gotoAndStop("Scene 2", 1);
}

```

But this doesn’t seem to work when I click it just seems to refresh the animation. I have got Stop(); at the beginning of both scenes. I cannot see the problem.

Cheers xD
