# Closing and opening windows

**URL:** <https://forum.kirupa.com/t/closing-and-opening-windows/196280>\
**Category:** flash\
**Created:** [August 7, 2006, 11:05am UTC](https://forum.kirupa.com/t/closing-and-opening-windows/196280 "2006-08-07T11:05:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rood](https://avatars.discourse-cdn.com/v4/letter/r/22d042/32.png) [@rood](https://forum.kirupa.com/u/rood)\
**Post date:** [August 7, 2006, 11:05am UTC](https://forum.kirupa.com/t/closing-and-opening-windows/196280/1 "2006-08-07T11:05:10Z")

</div>

I`ve build a site for a friend of mine just to get myself started on some flash but I`ve run into a little problem.

On this site there are various thumbs that open a new window and show the original pic, nutting special there, except that I want each file to open in it`s own window.  
In this case new pics open in the same window and not a new one.

It is rather annoying as I also created a player that opens in a new window which stops playing if you look at start looking at a picture after that 😊

So what I need is either a window-closer or some script that opens every picture in it`s own window or just a special window for the player…

Hope you can help me out here 🙂

the code for the pictures to open the new window I use is:  
b3.onRelease = function() {  
getURL(“javascript:Launch(‘[http://www.url.com/pic.jpg](http://www.url.com/pic.jpg)’, 630, 470)”);  
};
