# External .txt with url link to open in new window

**URL:** https://forum.kirupa.com/t/external-txt-with-url-link-to-open-in-new-window/119859
**Category:** Uncategorized
**Created:** [August 18, 2004, 4:48pm UTC](https://forum.kirupa.com/t/external-txt-with-url-link-to-open-in-new-window/119859 "2004-08-18T16:48:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![maaleen](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@maaleen](https://forum.kirupa.com/u/maaleen)
#### Post date: [August 18, 2004, 4:48pm UTC](https://forum.kirupa.com/t/external-txt-with-url-link-to-open-in-new-window/119859/1 "2004-08-18T16:48:47Z")

</div>

hi. I have a dynamic scrolling text in my flash site which loads an external txt file, this txt file has some simple html code, and I have managed to create url links , but when I add target="\_blank" in the .txt, it doesnt work, how esle can i get the url link to open into a new window? Thanks, this one is driving me crazy !

---

<div class="post-metadata">

### Author: ![icio](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/icio/32/484_2.png) [@icio](https://forum.kirupa.com/u/icio)
#### Post date: [August 18, 2004, 5:11pm UTC](https://forum.kirupa.com/t/external-txt-with-url-link-to-open-in-new-window/119859/2 "2004-08-18T17:11:27Z")

</div>

make the links in the dynamic text box link to a javascript function in the html page that your flash movie is on.

that way, you can specify a variable to send to the js function and then use window.open(“[http://www.microsoft.com](http://www.microsoft.com)”); in yoour javascript function to open a new window.

hope this helps.

---

<div class="post-metadata">

### Author: ![maaleen](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@maaleen](https://forum.kirupa.com/u/maaleen)
#### Post date: [August 18, 2004, 5:23pm UTC](https://forum.kirupa.com/t/external-txt-with-url-link-to-open-in-new-window/119859/3 "2004-08-18T17:23:51Z")

</div>

Thanks so much, I will try it

---

<div class="post-metadata">

### Author: ![maaleen](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@maaleen](https://forum.kirupa.com/u/maaleen)
#### Post date: [August 18, 2004, 5:25pm UTC](https://forum.kirupa.com/t/external-txt-with-url-link-to-open-in-new-window/119859/4 "2004-08-18T17:25:58Z")

</div>

Im not very good at javascript, you dont by any chance know where i can find more info on this! Thanks
