Groups | Blog | Home
all groups > flash actionscript > july 2004 >

flash actionscript : Pop-up window URGENT!!!



Rob
7/27/2004 7:03:11 PM
On the button in the .swf put this code:

on (release) {
getURL("JavaScript:openpopupNAME();");
}


Inside the <HEAD> </HEAD> tags of the HTML file, put this code:

<script>
function openpopupNAME(){
var popurl="popUpPage.html"
winpops=window.open(popurl,"","width=500,height=300,")
}
</script>

Of course, you would change the page name "popUpPage.html" to the name of
the page that you want to pop up. And you would change the width and height
to the size you want. And you can change the vraiable NAME if you want,
too.

Best,
Rob






[quoted text, click to view]

dospuntospunto
7/27/2004 11:11:30 PM
Hi, I need to know how do I call a pop-up window by clicking in a button in an swf file that will be embebed in an html ambient.

121dsign
7/27/2004 11:45:39 PM
121dsign
7/27/2004 11:47:12 PM
AddThis Social Bookmark Button