Hi got a really simple problem ( but I´m stuck and can´t figure the problem out. I want to open a window from within a swf no problem so far.
I use following script in the html-file I want to open
<script language=“JavaScript”>
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
And following script in my button in the .swf
javascript:openNewWindow(‘http://www.macromedia.com’,‘thewin’,
‘height=400,width=400,toolbar=no,scrollbars=yes’)
All of this according to the following instructions:
http://www.macromedia.com/support/flash/ts/documents/popup_windows.htm
But when I try it the window popsup but isn´t the right height or width (400,400) and it´s a blank page.
I´m attaching the .fla and pray that someone will have mercy over a poor rookie like me.
=)