JavaScript + Flash ??
Hi!
I need to execute an object created using Flash after it's executed when the user clicks on the object it will open a new HTML page but without status bar or any other tool bar with a specific window size, the position doesn't really matter what I do actually is to open a new window using JavaScript
[PHP]window.open("index.htm","INFOVIN","left=5,top=5,width=770,height=550,toolbars=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,type=fullWindow");
and the woindow.close ();[/PHP]
calling this on the HTML page that envolves the object, but the JavaScript has its limits it can't close a parent window without confirmation... is it posible to execute the JavaScript code with the lfash objet only the "window.open..."
I need to execute an object created using Flash after it's executed when the user clicks on the object it will open a new HTML page but without status bar or any other tool bar with a specific window size, the position doesn't really matter what I do actually is to open a new window using JavaScript
[PHP]window.open("index.htm","INFOVIN","left=5,top=5,width=770,height=550,toolbars=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,type=fullWindow");
and the woindow.close ();[/PHP]
calling this on the HTML page that envolves the object, but the JavaScript has its limits it can't close a parent window without confirmation... is it posible to execute the JavaScript code with the lfash objet only the "window.open..."
0
Comments
on(press)
{
getURL("javascript:NewWindow=window.open('index.html','','left=5,top=5,width=770,height=550,toolbar=No,location=No,scrollbars=yes,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
but as I said this only works if the movie is published as a HTML file & I want to make it directly