1. First we need JavaScript. If you’re not familiar with JavaScript, see our Javascript section.

 <SCRIPT language=JavaScript> 
var newwin;  
function launchwin(winurl,winname,winfeatures)  
{  
//This launches a new window  
newwin = window.open(winurl,winname,winfeatures);
}
</SCRIPT>

2. Insert the above code into the tags of your HTML document.

3. Now, assign the parameters of this new window to your Flash button. Here’s the code:

On (Release)  

Get URL ("javascript:launchwin('http://www.flashcircle.com'  
, 'newwindow' , 'height=800,width=800')")  

End On

4. That’s all you need to do. Press ctrl+enter to check the movie.

Georgina has more than fifteen years' experience writing and editing for web, print and voice. With a background in marketing and a passion for words, the time Georgina spent with companies like Sausage Software and sitepoint.com cemented her lasting interest in the media, persuasion, and communications culture.

Get your free chapter of Level Up Your Web Apps with Go

Get a free chapter of Level Up Your Web Apps with Go, plus updates and exclusive offers from SitePoint.


No Reader comments

Related books & courses
Available now on SitePoint Premium

Preview for $1