# Button Hyperlink Doesnt Work

**URL:** https://forum.kirupa.com/t/button-hyperlink-doesnt-work/9833
**Category:** flash
**Created:** [December 19, 2002, 9:36am UTC](https://forum.kirupa.com/t/button-hyperlink-doesnt-work/9833 "2002-12-19T09:36:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Cyko44](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@Cyko44](https://forum.kirupa.com/u/Cyko44)
#### Post date: [December 19, 2002, 9:36am UTC](https://forum.kirupa.com/t/button-hyperlink-doesnt-work/9833/1 "2002-12-19T09:36:00Z")

</div>

Hey guys … i am a Flash MX n00b … i have been going from website to website learning little things at a time. My problem is with my Button/Hyperlink. I have created a button, with no animation to it. In my actions i have it set to getURL (“[http://www.blahblahblah.com](http://www.blahblahblah.com)”, “\_self”) … yet it always opens in a new window … anybody know how to correct this ?

---

<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: [December 19, 2002, 9:55am UTC](https://forum.kirupa.com/t/button-hyperlink-doesnt-work/9833/2 "2002-12-19T09:55:14Z")

</div>

Instead of using “\_self”, use “\_parent” instead. =)

---

<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: [December 19, 2002, 10:08am UTC](https://forum.kirupa.com/t/button-hyperlink-doesnt-work/9833/3 "2002-12-19T10:08:47Z")

</div>

I \<i\>think\</i\> (I could well be wrong here) that if you’re previewing your movie in Flash (using a Ctrl + Enter) it will always have to open a browser window to view the http:// link. That’s because the .swf isn’t a browser. Once your Flash movie is embedded into an HTML page, you should find it opens in the same window. Otherwise, just try taking out the target \_self, and see if that helps.

---

<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: [December 19, 2002, 8:49pm UTC](https://forum.kirupa.com/t/button-hyperlink-doesnt-work/9833/4 "2002-12-19T20:49:38Z")

</div>

I will try both of those ways thanks.

I do a Publish Preview in HTML to see how it works, and thats when it opens in new windows everytime.
