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);

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.

No Reader comments

Special Offer
Free course!

Git into it! Bonus course Introduction to Git is yours when you take up a free 14 day SitePoint Premium trial.