# rollOver issue

**URL:** <https://forum.kirupa.com/t/rollover-issue/226474>\
**Category:** flash\
**Created:** [May 21, 2007, 6:42pm UTC](https://forum.kirupa.com/t/rollover-issue/226474 "2007-05-21T18:42:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syous](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Syous](https://forum.kirupa.com/u/Syous)\
**Post date:** [May 21, 2007, 6:42pm UTC](https://forum.kirupa.com/t/rollover-issue/226474/1 "2007-05-21T18:42:49Z")

</div>

I’m modding a template for a friend, the site is [pgaloans.com](http://pgaloans.com)

When you go to the first page or the last page, everything works fine. The menu also corresponds to the current page by having the button remaining highlighted. However this isn’t working for pages 2 - 5, any idea why?

```auto
on (rollOver) {
    if (_root.link<>4) {
        this.gotoAndPlay("s1");
    }
}
on (releaseOutside, rollOut) {
    if (_root.link<>4) {
        this.gotoAndPlay("s2");
    }
}
on (release) {
    if (_root.link<>4) {
        _root["item"+_root.link].gotoAndPlay("s2");
        _root.link = 4;
        getURL("about.html");
    }
}

```

The actionscript is the same for every button, except the get URL and the \_root.link=4 do change to the appropriate url/number.
