# AC\_RunActiveContent.js VS defined popup dimensions

**URL:** <https://forum.kirupa.com/t/ac-runactivecontent-js-vs-defined-popup-dimensions/240420>\
**Category:** flash\
**Created:** [October 2, 2007, 8:17pm UTC](https://forum.kirupa.com/t/ac-runactivecontent-js-vs-defined-popup-dimensions/240420 "2007-10-02T20:17:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freeseus](https://avatars.discourse-cdn.com/v4/letter/f/9e8a1a/32.png) [@Freeseus](https://forum.kirupa.com/u/Freeseus)\
**Post date:** [October 2, 2007, 8:17pm UTC](https://forum.kirupa.com/t/ac-runactivecontent-js-vs-defined-popup-dimensions/240420/1 "2007-10-02T20:17:48Z")

</div>

I have not been able to make a popup from within flash that works while the AC\_RunActiveContent.js active-x border disabling script is active.

I want to popup a window like this:

on(release){  
getURL(“javascript:Launch(‘legal.html’, 900, 525)”)  
}

Obviously inside the html page, there is a javascript function that enables that:

\<script language=“JavaScript”\>  
function Launch(page, name, width, height) {  
OpenWin = this.open(page, “blah”, “toolbar=no, menubar=no ,location=no, scrollbars=yes, resizable=yes, width=” + width + “, height=” + height + “, top=” + (screen.height/2 - 300) + “, left=” + (screen.width/2 - width/2) + “”");  
}  
\</script\>

Now, if I don’t use “AC\_RunActiveContent.js,” the launch function works fine, launching a popup page 525pixels wide by 900pixels long. However, I have the active-x control border.

If I use the “AC\_RunActiveContent.js,” I get no active-x control border. But when I click the link to launch a popup, I get an error at the bottom of the page and no popup shows up.

Does anyone have a popup with dimensions called from inside the flash file that works WITH “AC\_RunActiveContent.js”? If you do, could I please see it?
