hthPHP Code:// open a new test file, place a button on stage (instance name - btn1)
// add this code to frame#1 of the main timeline
function launchWindow(url){
getURL("javascript:NewWindow=window.open('"+url+
"', 'Window','width=200,height=200,top=50,left=50,scrollbars=yes');void(0);");
};
// action on a button -
btn1.onRelease = function(){ launchWindow("http://www.yahoo.com"); };
// Publish the movie, upload the html and swf files to your server, and test online
online examples -
http://www.jackleaman.co.uk/test/getURL/ext_link.html
using links in external text file and movieclips
http://www.jackleaman.co.uk/test/ext...ace/link1.html
using the externalInterface class





Reply With Quote
