Open a popup window from player.html

May 17, 2012

I'm trying to use Javascript to open a popup window that loads a swf. When opening the popup window, an initial window is loaded which then opens my popup window and loads the content successfully. Both windows are the same size. Essentially, it's just opening the same window twice. The first window is blank, and the second loads the content.

Inserting the content as a web object is not going to work for me. Also, opening the window from a Flash file using ActionScript will also not work because I am not using a button to open the content. I'm wanting the content to load automatically.

Has anyone found a workaround for this?

3 Replies
James Starr

In case anyone needs to do this, I solved it!

  1. Create a Flash file with the following action script (remember to use 2.0 because 3.0 won't work)
    getURL( "javascript:popUpWindow('file_name.htm',400,400,825,311);" );
  2. Export as SWF and insert into your Articulate project as a Flash movie.
  3. Easy peezy lemon squeezy!

This discussion is closed. You can start a new discussion or contact Articulate Support.