|
-
FK'n_dog
PHP 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
hth 
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
Last edited by a_modified_dog; 07-01-2009 at 11:13 AM.
Reason: added links
-
Thank you !
Thank you so much for help!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|