# HELP! - Change HTML Page AND pop a window

**URL:** <https://forum.kirupa.com/t/help-change-html-page-and-pop-a-window/123484>\
**Category:** Uncategorized\
**Created:** [September 24, 2004, 2:54am UTC](https://forum.kirupa.com/t/help-change-html-page-and-pop-a-window/123484 "2004-09-24T02:54:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Verdaccio](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@Verdaccio](https://forum.kirupa.com/u/Verdaccio)\
**Post date:** [September 24, 2004, 2:54am UTC](https://forum.kirupa.com/t/help-change-html-page-and-pop-a-window/123484/1 "2004-09-24T02:54:43Z")

</div>

[font=verdana, arial, helvetica][size=2] I have an embedded flash button in “Window A”, an HTML page. That button has the following code:

on (release) {

varHeight=“600”  
varWidth=“800”  
getURL (“javascript:window.open(‘intro. htm’,‘Intro\_Page’,‘width=800,height=600,top=’+  
((screen.availHeight/2)-(” add varHeight/2 add"))+’,left=’+((screen.availWidth/2)-(" add varWidth/2 add “))); void(0);”);

}

What I want the button to do is to pop the window as the code is here, **but ALSO change the page in “Window A” from the page with the flash button to another page completely.**

I tried adding an additional getURL statement, but it did not work - it kept popping a third window which is not what I want.

Any help is appreciated.[/size][/font]
