Sometime ago, I read Kirupa’s Javascript tutorial: “Launching a Centered Pop-Up Window” and used the code to good effect on four buttons on a swf that brought up four different html pop-ups. However, I always had to warn the viewer to manually close each one when finished or clicking on the next one would only bring back the first one.
Now I would like to modify the code so that the first one closes automatically when you click on the second one (etc.)
I’ve tried making the target_winName the same – and different – but neither worked. And I’ve looked all over the web and in a javascript book, to no avail. I’ve even tried an on (press) lead-in code sort of like this:
on (press) {
window.close(“aaronCreditsActor.html”);
that I would apply to each, to “shotgun” the closing the other three. But it doesn’t work either.
Any ideas? How about blur()? Thanks.