# Own Window JaveScript

**URL:** https://forum.kirupa.com/t/own-window-javescript/25335
**Category:** programming
**Created:** [July 11, 2003, 4:21pm UTC](https://forum.kirupa.com/t/own-window-javescript/25335 "2003-07-11T16:21:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![BullDog\_Flash](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@BullDog\_Flash](https://forum.kirupa.com/u/BullDog_Flash)
#### Post date: [July 11, 2003, 4:21pm UTC](https://forum.kirupa.com/t/own-window-javescript/25335/1 "2003-07-11T16:21:47Z")

</div>

O.K I know alot of people who make Flash movies love to have the Movie have the own window.

What i mean by that is A Winodw Set to the Deminsion of the Flash movie and Non Resizable or scrolable.

Luckyt For you I have That Code.

Remember this code only works as a link.

So When you enter the text for the Link you click the linka nd a pop up window pops up and it is your Movie.

```php
<a href="javascript: window.open('http://www.your Domain.com/Your.Swf','','status=no, width=550,height=400'); void('');"> Your Link </a>

```

```php
<a href="javascript:

```

window.open this Code Here opens A new Window ahd it opens the link after that. with is  
‘[http://www.your](http://www.your) [Domain.com/Your.Swf](http://Domain.com/Your.Swf)’

This Code here

```php
'status=no, width=550,height=400'

```

Makes the size of your movie and no scrolbars.

Then where it says your link is wheere you put your link.

---

<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: [July 11, 2003, 4:29pm UTC](https://forum.kirupa.com/t/own-window-javescript/25335/2 "2003-07-11T16:29:12Z")

</div>

[http://www.kirupa.com/developer/mx/centered\_popup.htm](http://www.kirupa.com/developer/mx/centered_popup.htm)

[http://www.kirupa.com/developer/flash5/newwindow.htm](http://www.kirupa.com/developer/flash5/newwindow.htm)

your code needs to be fixed up a bit…
