open window problem from flash inside a frame
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

open window problem from flash inside a frame

From: Alejandro Vidal <placom@terra.es>
Date: Fri Mar 24 2006 - 14:33:21 CET

Hi, I have a curius problem, I hava a flash in a html page. In flash I have
a button to open a pop up with this code:

getURL
("javascript:void(window.open('http://www.onePage.com','popwindow','status=y
es,scrollbars=yes,width=800,height=450,resizable=yes'))");

this works perfect always, but now when the page is inside a frame it
doesn't work, doing nothing.

I have tried with:

    window.parent.open
    window.top.open

    calling a function like: "brOpenWindow" declared in the html file

But nothing works, nevertheless I put the same code in the html file and it
works, but in Flash no, but in flash without frames yes !!!

can anybody help me??

Thanks
Received on Mon May 1 04:23:29 2006