Alek
04-04-2003, 03:54 AM
Hi everybody,
I have some question about popup window,
and more about its location, following one of the tutorials I made a popup window open
in a new browser window from within Flash movie.
Everything works very fine ,but I would like to make this new window being opened at certain
location, for exmpl. 200px left margin and 150px top margin, does somebody know how to
do such thing???
I tryed to do something with the code belowe, by simple adding the x=200, y=150 ,but it doesn't work.
Please if someone have some suggestion.
Thanks in advance
Code on the button within Flash movie looks like this:
on (release) {
getURL ("javascript:spawnWindow('testpop.htm','test','toolb ar=no,location=no,status=no,menubar=no,scrollbars= no,resizable=no,width=800,height=350');");
}
and there is some additional javascript in HTML page.
I have some question about popup window,
and more about its location, following one of the tutorials I made a popup window open
in a new browser window from within Flash movie.
Everything works very fine ,but I would like to make this new window being opened at certain
location, for exmpl. 200px left margin and 150px top margin, does somebody know how to
do such thing???
I tryed to do something with the code belowe, by simple adding the x=200, y=150 ,but it doesn't work.
Please if someone have some suggestion.
Thanks in advance
Code on the button within Flash movie looks like this:
on (release) {
getURL ("javascript:spawnWindow('testpop.htm','test','toolb ar=no,location=no,status=no,menubar=no,scrollbars= no,resizable=no,width=800,height=350');");
}
and there is some additional javascript in HTML page.