# Drop-down menu problem

**URL:** <https://forum.kirupa.com/t/drop-down-menu-problem/27862>\
**Category:** flash\
**Created:** [August 7, 2003, 10:29am UTC](https://forum.kirupa.com/t/drop-down-menu-problem/27862 "2003-08-07T10:29:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommy69](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tommy69](https://forum.kirupa.com/u/tommy69)\
**Post date:** [August 7, 2003, 10:29am UTC](https://forum.kirupa.com/t/drop-down-menu-problem/27862/1 "2003-08-07T10:29:13Z")

</div>

I have a dropdown menu similar to attached fla (see below) but had problem with the “target” function. Everytime i click on the sub-headings, a new window opens up. It’s not quite what i wanted…how can i open a window to itself? Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2003, 10:31am UTC](https://forum.kirupa.com/t/drop-down-menu-problem/27862/2 "2003-08-07T10:31:35Z")

</div>

oops! here’s the fla

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2003, 12:30pm UTC](https://forum.kirupa.com/t/drop-down-menu-problem/27862/3 "2003-08-07T12:30:56Z")

</div>

Well, I had a look at your code and I can’t see what the problem is. It seems to be working fine for me…

But if you are using a different file to the one you provided and are still getting the error, you should open a link in the same window like this:

```
getURL("link", "_self");

```

On a button you would use this:

on (release) {  
getURL(“link”, “\_self”);  
}

where link equals the page to open.

Hope that helped!
