# Pop upp

**URL:** <https://forum.kirupa.com/t/pop-upp/7480>\
**Category:** Uncategorized\
**Created:** [October 31, 2002, 9:36pm UTC](https://forum.kirupa.com/t/pop-upp/7480 "2002-10-31T21:36:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![geedogg](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@geedogg](https://forum.kirupa.com/u/geedogg)\
**Post date:** [October 31, 2002, 9:36pm UTC](https://forum.kirupa.com/t/pop-upp/7480/1 "2002-10-31T21:36:05Z")

</div>

im woundering if there is any way to have a popup window with a html dok in it and controll the size from flash?

Push button-swoooosh a new window poops up at x\*x pics=)

---

<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:** [November 1, 2002, 1:12pm UTC](https://forum.kirupa.com/t/pop-upp/7480/2 "2002-11-01T13:12:01Z")

</div>

you can do that by using javascripts, then give the button a getURL-javascript action, for cool window javascripts, check out: [javascript.internet.com](http://javascript.internet.com/)

---

<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:** [November 2, 2002, 9:49pm UTC](https://forum.kirupa.com/t/pop-upp/7480/3 "2002-11-02T21:49:23Z")

</div>

i am a ninja!!! remember that:ninja:

---

<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:** [November 2, 2002, 9:51pm UTC](https://forum.kirupa.com/t/pop-upp/7480/4 "2002-11-02T21:51:39Z")

</div>

Kirupa has a tutorial on his site about doing it without Javascript, it is possible to do it all inside Flash MX.

His site is currently down, so I can’t give a link, but you can check there later, just use the search field in the upper right corner and look for “Centered Pop-Up Windows” or something along those lines.

---

<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:** [November 2, 2002, 9:55pm UTC](https://forum.kirupa.com/t/pop-upp/7480/5 "2002-11-02T21:55:16Z")

</div>

thanks man

---

<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:** [November 2, 2002, 9:56pm UTC](https://forum.kirupa.com/t/pop-upp/7480/6 "2002-11-02T21:56:24Z")

</div>

No prob, the site works again, so I got the link

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

---

<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:** [November 3, 2002, 12:22am UTC](https://forum.kirupa.com/t/pop-upp/7480/7 "2002-11-03T00:22:30Z")

</div>

yeah, but that’s to launch a window, that’s not that hard, but if you want to change the window that’s already launched, you’ll need to use javascript, ofcourse you can do it the same way the tutorial is showing you, if you don’t want to put the javascript inside your html-file. So eg. you click a button, a popup opens with an image, you click again, then you want to load another image into the same popupwindow and change the size and position. Or you can also load an swf file into that popup and use javascript to change the size of that popup when you click on a button inside the popupwindow.

---

<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:** [November 3, 2002, 12:27am UTC](https://forum.kirupa.com/t/pop-upp/7480/8 "2002-11-03T00:27:56Z")

</div>

The code used inside Flash is pretty much identical to the code used in Javascript. It is just defined in a prototype and calls the complete javascript window.open code in the getURL.
