I have made some changes to your file, test it ...
first i rename your button to gotourl
then i added some functions to your file
- Code: Select all
gotourl.onRelease = function() {
get_url();
}
and
- Code: Select all
function get_url() {
current_url = p;
getURL(url[current_url]);
}
that security warning is because your are testing your file locally and warns you that this file wants to access internet
its better you upload your file to server and test it