Hi,
I have a banner on my site that opens popup into another window, but I need to close sound on the site that is open at another browser.
Easiest way to solve my problem (descripted below) is to navigate from one button to two pages, other is popup and other should reload the page again.
I have noticed that this wont work:
myButton.addEventListener(MouseEvent.MOUSE_UP,buttonPressed);
function buttonPressed(event:MouseEvent){
var request:URLRequest = new URLRequest("http://page.com");
navigateToURL(request, "_self");
var address:String = "http://videopage.com/video/movie.html";
var jscommand:String = "window.open('" + address + "','PopUpWindow','height=780,width=980,toolbar=no,scrollbars=no,resizable=yes');";
var url:URLRequest = new URLRequest("javascript:" + jscommand + " void(0);");
navigateToURL(url,"_self");
}
I have one page that is build up with separate flash shows. Including one that has sound on it. Easiest way to outclude the sound is to reload page without including the php/flash file where the sound is. (yeah, I know this sounds really confusing, but this is how the page is build).
So now I need a button that opens new popup and on the same time reloads the site where the banner is.