Search tutorials
The Actionscript
Insert the code (from the last page) into the <HEAD> tags of your HTML document. Now all you really have left to do is assign the parameters of this new window to your Flash button. Here's the code:
On (Release)
Get URL ("javascript:launchwin('open.html' , 'newwindow' , 'height=150,width=300')")
End On
All this is doing is calling the javascript function launchwin, which does all of the work to open and size your new window. It then sticks the specified URL in that window. Of course, you can replace the address with any URL you please. Just remember to make it an absolute link (http://) if you're linking to an external page. In this case, I link to a relative page so I simply use "open.html". Very simple, very useful. Enjoy!
| » Level Intermediate |
|
Added: 2000-06-26 Rating: 6 Votes: 250 |
| » Author |
| No information about the author has been provided |
| » Download |
| Download the files used in this tutorial. |
| Download (7 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!