# 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/61442>\
**Category:** Uncategorized\
**Created:** [August 18, 2004, 4:48pm UTC](https://forum.kirupa.com/t/external-txt-with-url-link-to-open-in-new-window/61442 "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/61442/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:** ![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 18, 2004, 5:11pm UTC](https://forum.kirupa.com/t/external-txt-with-url-link-to-open-in-new-window/61442/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:** ![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 18, 2004, 5:23pm UTC](https://forum.kirupa.com/t/external-txt-with-url-link-to-open-in-new-window/61442/3 "2004-08-18T17:23:51Z")

</div>

Thanks so much, I will try it

---

<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 18, 2004, 5:25pm UTC](https://forum.kirupa.com/t/external-txt-with-url-link-to-open-in-new-window/61442/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
