# Flash 8 template - external link problem

**URL:** <https://forum.kirupa.com/t/flash-8-template-external-link-problem/286751>\
**Category:** flash\
**Created:** [April 20, 2009, 3:31pm UTC](https://forum.kirupa.com/t/flash-8-template-external-link-problem/286751 "2009-04-20T15:31:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicecube](https://avatars.discourse-cdn.com/v4/letter/n/aeb1de/32.png) [@Nicecube](https://forum.kirupa.com/u/Nicecube)\
**Post date:** [April 20, 2009, 3:31pm UTC](https://forum.kirupa.com/t/flash-8-template-external-link-problem/286751/1 "2009-04-20T15:31:43Z")

</div>

Hi,

I am currently working with a flash template, the links contained within originally linked to other scenes within the original movie, I have removed the nav and its elements and created a new flash file as I want to use the navigation on a static website, so I want to link the nav buttons to static pages instead of internal pages.

See [http://www.redupdates.com/clearpath/](http://www.redupdates.com/clearpath/)

The code for the current buttons is below, does anyone know how I can doctor the on(release) part so that I can point to a url rather than an internal link?

```auto

onClipEvent(load) {
    num=5;
}

on(rollOver) {
    if(_root.link<>num) {
        this.gotoAndPlay("s1");
        _parent.sign.gotoAndPlay("s1");
    }
}

on(rollOut, releaseOutside) {
    if(_root.link<>num) {    
        this.gotoAndPlay("s2");
        _parent.sign.gotoAndPlay("s2");
    }
}

on(release) {
    if(_root.link<>num and _root.animation==1) {
        _root.animation=0;
        _root.link_prev=_root.link;
        _root.menu["item" + _root.link].item.gotoAndPlay("s2");
        _root.menu["item" + _root.link].sign.gotoAndPlay("s2");
        _root.link=num;
        _root.play();
    }
}

```

Thanks,  
Paul
