all groups > flash (macromedia) > november 2004 >
You're in the

flash (macromedia)

group:

pop up window


pop up window triaga
11/18/2004 10:32:34 PM
flash (macromedia):
Hi,

How do I create a window, 400x400, to pop up, whwn a site is loaded? And be able to close it...
Re: pop up window proxmaster
11/18/2004 11:12:32 PM
Can you use just use actionscript in the html page or does it need to be done
from within flash?

html:
<script language="javascript">
function
openwindow("window.htm","newwin","width=400,height=400,top=50,left=75,toolbar=no
,scrollbars=no,resizable=no,location=no")){
window.open();
}
</script>
<body onload="openwindow();">

Flash:
getURL("javascript:window.open(
"window.htm','','width=400,height=400,top=50,left=75,toolbar=no,scrollbars=no,re
sizable=no,location=no')");
Re: pop up window urami_
11/19/2004 9:08:06 AM


[quoted text, click to view]



Something more simple than the above.

on (release) {
getURL ("javascript:n_name=window.open('PAGE.html','new_name1','width=400,height=400');void(0);");
}

No html stuff , just flash button action.



--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
AddThis Social Bookmark Button