Popup headache

I’ve been tearing out my hair trying to make a popup JavaScript work.

I have a .html page with an embedded .swf, “design_base.swf”.

Clicking on a button loads a second file, “portfolio_atmo1.swf”, which I want to link to the URL for this project in a popup.

I’ve created a button there that will launch a popup window, I’ve put in the correct ActionScript (http://www.kirupaforum.com/forums/showthread.php?s=&postid=242637#post242637), and I’ve placed the JavaScript in the .html, and… squat. Not even the dignity of an error message.

Is this because the popup script won’t work from the second .swf?

as long as your swf has the getURL javascript code, it should work

The code works in the embedded “design_base.swf”.

However, when the user clicks on the Portfolio link, “portfolio.swf” is loaded into a movie clip. I can’t make the popup code work from here.

aHA. I also had to take a mistyped space out of the window name. False alarm! And thanks for the help, Dig.

no prob, figured it was something like that.