xdementia
05-26-2005, 09:50 PM
Hi everyone. I use this JavaScript function
function openWindowEIPhoto() {
popupWin = window.open('eiphoto.html', 'remote', 'width=400,height=361')
}
to open new windows with set sizes in HTML and I am trying to get it to work in flash when a user presses on a button. The code on my button is the following:
on (release) {
getURL("javascript:openWindowEIPhoto('eiphoto.html');", "_blank");
}
The result that I'm getting is this: a blank page in the frame where my flash movie was. The result that I desire is that it works similiar to when I do it in HTML - a new window with eiphoto.html loaded into it that is the size I specified in the function.
function openWindowEIPhoto() {
popupWin = window.open('eiphoto.html', 'remote', 'width=400,height=361')
}
to open new windows with set sizes in HTML and I am trying to get it to work in flash when a user presses on a button. The code on my button is the following:
on (release) {
getURL("javascript:openWindowEIPhoto('eiphoto.html');", "_blank");
}
The result that I'm getting is this: a blank page in the frame where my flash movie was. The result that I desire is that it works similiar to when I do it in HTML - a new window with eiphoto.html loaded into it that is the size I specified in the function.