# getURL - problem with target window

**URL:** https://forum.kirupa.com/t/geturl-problem-with-target-window/24589
**Category:** flash
**Created:** [July 2, 2003, 3:00pm UTC](https://forum.kirupa.com/t/geturl-problem-with-target-window/24589 "2003-07-02T15:00:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kaykills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kaykills/32/228_2.png) [@kaykills](https://forum.kirupa.com/u/kaykills)
#### Post date: [July 2, 2003, 3:00pm UTC](https://forum.kirupa.com/t/geturl-problem-with-target-window/24589/1 "2003-07-02T15:00:35Z")

</div>

I have a flash navbar in the top frame of my page. When you click on one of the buttons I want an html page to open in the main window. I cannot get the getURL to work… when I click on the button it always targets a new page. This is the exact code I use.

on (release) {  
getURL(“pink.htm”, “\_info”);  
}

can someone tell me why this is not targeting the info frame??  
Cheers

---

<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: [July 2, 2003, 6:33pm UTC](https://forum.kirupa.com/t/geturl-problem-with-target-window/24589/2 "2003-07-02T18:33:39Z")

</div>

on (release) {  
getURL(“pink.htm”, “nameoftheframeyouwanttoopenin”);  
}

---

<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: [July 2, 2003, 7:26pm UTC](https://forum.kirupa.com/t/geturl-problem-with-target-window/24589/3 "2003-07-02T19:26:29Z")

</div>

m… you’re a saint…cheers
