# Link to new window

**URL:** <https://forum.kirupa.com/t/link-to-new-window/21792>\
**Category:** Uncategorized\
**Created:** [May 26, 2003, 2:36pm UTC](https://forum.kirupa.com/t/link-to-new-window/21792 "2003-05-26T14:36:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![staykeeter](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@staykeeter](https://forum.kirupa.com/u/staykeeter)\
**Post date:** [May 26, 2003, 2:36pm UTC](https://forum.kirupa.com/t/link-to-new-window/21792/1 "2003-05-26T14:36:20Z")

</div>

I recently saw a site on Kirupa where someone used a link within their flash movie to display a  
html page with a picture. The border was cropped to the size of the  
picture and no tool bars were present at the top of the page. I believe  
i have found the java script for this but I’m stumpped as to how to  
implement it into the actionscript on my page. Maybe there is a easier way to do this???  
I have included the script as a notepad attachment…

---

<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:** [May 26, 2003, 3:31pm UTC](https://forum.kirupa.com/t/link-to-new-window/21792/2 "2003-05-26T15:31:48Z")

</div>

Create the javascript function that will do the job for you, and then call it from Flash. Search the forum a bit, this question has been asked many times (there might even be tutes).

---

<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:** [May 26, 2003, 3:40pm UTC](https://forum.kirupa.com/t/link-to-new-window/21792/3 "2003-05-26T15:40:10Z")

</div>

Thanks… that sheds a bit of light 🙂

---

<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:** [May 26, 2003, 8:10pm UTC](https://forum.kirupa.com/t/link-to-new-window/21792/4 "2003-05-26T20:10:49Z")

</div>

for anyone reading this and wondering how to do it , I’ve found a tut for it…

[http://www.flashkit.com/tutorials/Actionscripting/Opening\_-Mohamed\_-836/index.php](http://www.flashkit.com/tutorials/Actionscripting/Opening_-Mohamed_-836/index.php)
