# I would like to give dimensions to a pup-up window

**URL:** https://forum.kirupa.com/t/i-would-like-to-give-dimensions-to-a-pup-up-window/2472
**Category:** flash
**Created:** [March 29, 2002, 3:54pm UTC](https://forum.kirupa.com/t/i-would-like-to-give-dimensions-to-a-pup-up-window/2472 "2002-03-29T15:54:00Z")
**Posts on this page:** 4
**Page:** 1

<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: [March 29, 2002, 3:54pm UTC](https://forum.kirupa.com/t/i-would-like-to-give-dimensions-to-a-pup-up-window/2472/1 "2002-03-29T15:54:00Z")

</div>

I have created some buttons in flash5 and if I click on one I would like to pop-up a window with the dimensions I want to have it.  
Can it be Done?? and if yes How??

Many thanks

---

<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: [March 29, 2002, 4:03pm UTC](https://forum.kirupa.com/t/i-would-like-to-give-dimensions-to-a-pup-up-window/2472/2 "2002-03-29T16:03:30Z")

</div>

I think I know what you mean.

\<a href = “[http://may17th.tripod.com/newwindowtest.html](http://may17th.tripod.com/newwindowtest.html)”\>Is this the type of thing? (Click on the logo, then double-click a desktop icon).\</a\>

The way I did it is, instead of having it come in and out of existance, I just had the pop-up windows be initially off-screen, then are moved on-screen when you double click on a desktop icon.

To move it, but the way, just put in this type of code:

about.\_x = 500;  
about.\_y = 500;

Since you mentioned it, you can also go:

about.\_height = 200;  
about.\_width = 300;

---

<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: [March 29, 2002, 4:54pm UTC](https://forum.kirupa.com/t/i-would-like-to-give-dimensions-to-a-pup-up-window/2472/3 "2002-03-29T16:54:18Z")

</div>

or if you mean a browser window, then you have to use javascript.

LA nice site by the way.

---

<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: [March 29, 2002, 5:33pm UTC](https://forum.kirupa.com/t/i-would-like-to-give-dimensions-to-a-pup-up-window/2472/4 "2002-03-29T17:33:50Z")

</div>

There’s a pretty good open-source .fla on that…

\<a href = “[http://www.flashkit.com/movies/Smart\_Clips/Easy\_Pop-Phil\_She-5664/index.shtml](http://www.flashkit.com/movies/Smart_Clips/Easy_Pop-Phil_She-5664/index.shtml)”\>[http://www.flashkit.com/movies/Smart\_Clips/Easy\_Pop-Phil\_She-5664/index.shtml](http://www.flashkit.com/movies/Smart_Clips/Easy_Pop-Phil_She-5664/index.shtml)\</a\>

That should help you out.
